Scott Oonk's for for x86_64 compile warnings.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11941 57a11ea4-9604-0410-9ed3-97b8803252fd
zzzoldfeatures/register-rewrite
David Hampton 21 years ago
parent a4fddd3251
commit fb927fe111

@ -1,5 +1,9 @@
2005-11-14 David Hampton <hampton@employees.org>
* src/core-utils/gnc-gkeyfile-utils.c:
* src/gnome-utils/gnc-main-window.c: Scott Oonk's for for x86_64
compile warnings.
* src/gnome-utils/dialog-preferences.c:
* src/gnome-utils/preferences.glade:
* src/gnome/glade/sched-xact.glade: Andreas Köhler's patch to set

@ -122,10 +122,10 @@ gnc_key_file_save_to_file (const gchar *filename,
success = FALSE;
if (error) {
*error = g_error_new(G_FILE_ERROR, g_file_error_from_errno(errno),
"File %s truncated (provided %d, written %d)",
"File %s truncated (provided %d, written %zd)",
filename, length, (int) written);
} else {
g_critical("File %s truncated (provided %d, written %d)",
g_critical("File %s truncated (provided %d, written %zd)",
filename, length, (int) written);
}
/* Ignore any error */

@ -620,7 +620,7 @@ gnc_main_window_restore_all_state (gpointer session, gpointer unused)
/* Debugging: dump a copy to stdout and the trace log */
{
gchar *file_data;
gint file_length;
gsize file_length;
file_data = g_key_file_to_data(data.key_file, &file_length, NULL);
DEBUG("=== File Data Read===\n%s\n=== File End ===\n", file_data);
g_free(file_data);
@ -820,7 +820,7 @@ gnc_main_window_save_all_state (gpointer session, gpointer user_data)
/* Debugging: dump a copy to the trace log */
{
gchar *file_data;
gint file_length;
gsize file_length;
file_data = g_key_file_to_data(data.key_file, &file_length, NULL);
DEBUG("=== File Data Written===\n%s\n=== File End ===\n", file_data);
g_free(file_data);

Loading…
Cancel
Save