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.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19206 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Geert Janssens 2010-05-25 21:16:44 +00:00
parent 78f2c9f275
commit b4981af9e6

View File

@ -951,7 +951,7 @@ format_read_item_placement(const gchar * file,
if (error) if (error)
goto failed; goto failed;
value = doubles_to_string(dd, dd_len); 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); file, KF_GROUP_ITEMS, key, dd_len, value);
g_free(value); g_free(value);
@ -1367,7 +1367,7 @@ format_read_general_info(const gchar * file,
if (!error) if (!error)
{ {
value = doubles_to_string(dd, dd_len); 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); file, KF_GROUP_TOP, KF_KEY_TRANSLATION, dd_len, value);
g_free(value); g_free(value);