From d482cce86ac5b1dccb7d8c38ecb5ecdfdd3dda35 Mon Sep 17 00:00:00 2001 From: teuf Date: Wed, 8 Oct 2008 19:17:06 +0000 Subject: Fix printf modifiers for more portability Use %z when printing size_t values and G_GINT64_MODIFIER to print 64 bit values, this should fix compilation on 64 bit systems when artwork debugging is enabled, and this shouldn't break 32 bit systems git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2140 f01d2545-417e-4e96-918e-98f8d0dbbcb6 --- ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 625e900..2d04690 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2008-10-07 Christophe Fergeau + * src/db-artwork-debug.c: use %z modifier to print size_t values + and G_GINT64_MODIFIER to print 64 bit values, fix compilation + on 64 bit systems when artwork debugging is enabled + +2008-10-08 Christophe Fergeau + * src/itdb_device.h: switch members in Itdb_ArtworkFormat from guint16 to gint since the SysInfoExtended parser will assume they are gint value and will try to write to them through a -- cgit