r19206 - gnucash/trunk/src/gnome - printf with %zd is not known in mingw gcc 4.4.0 and prevents gnucash from being built with that compiler. Since this is only a debug message, I chose to replace it with %d which should also do the right thing.

Geert Janssens gjanssens at code.gnucash.org
Tue May 25 17:16:44 EDT 2010


Author: gjanssens
Date: 2010-05-25 17:16:44 -0400 (Tue, 25 May 2010)
New Revision: 19206
Trac: http://svn.gnucash.org/trac/changeset/19206

Modified:
   gnucash/trunk/src/gnome/dialog-print-check.c
Log:
printf with %zd is not known in mingw gcc 4.4.0 and prevents gnucash from being built with that compiler. Since this is only a debug message, I chose to replace it with %d which should also do the  right thing.

Modified: gnucash/trunk/src/gnome/dialog-print-check.c
===================================================================
--- gnucash/trunk/src/gnome/dialog-print-check.c	2010-05-25 21:15:00 UTC (rev 19205)
+++ gnucash/trunk/src/gnome/dialog-print-check.c	2010-05-25 21:16:44 UTC (rev 19206)
@@ -951,7 +951,7 @@
         if (error)
             goto failed;
         value = doubles_to_string(dd, dd_len);
-        g_debug("Check file %s, group %s, key %s, length %zd; values: %s",
+        g_debug("Check file %s, group %s, key %s, length %d; values: %s",
                 file, KF_GROUP_ITEMS, key, dd_len, value);
         g_free(value);
 
@@ -1367,7 +1367,7 @@
     if (!error)
     {
         value = doubles_to_string(dd, dd_len);
-        g_debug("Check file %s, group %s, key %s, length %zd; values: %s",
+        g_debug("Check file %s, group %s, key %s, length %d; values: %s",
                 file, KF_GROUP_TOP, KF_KEY_TRANSLATION, dd_len, value);
         g_free(value);
 



More information about the gnucash-changes mailing list