diff libpurple/protocols/yahoo/yahoo_aliases.c @ 22486:3225c99785b8

Fix a bunch of compiler warnings caused by my addition of G_GNUC_PRINTF() to our debug functions (I really thought we had added that in a while ago?) I didn't fix all of them... just most of them. Oh, see these pages for a little info: http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html http://library.gnome.org/devel/glib/unstable/glib-Miscellaneous-Macros.html#G-GNUC-PRINTF:CAPS
author Mark Doliner <mark@kingant.net>
date Sun, 16 Mar 2008 20:36:52 +0000
parents d4998f31bc1a
children 0d7ceae153bd
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo_aliases.c	Sun Mar 16 20:35:23 2008 +0000
+++ b/libpurple/protocols/yahoo/yahoo_aliases.c	Sun Mar 16 20:36:52 2008 +0000
@@ -79,7 +79,8 @@
 			purple_debug_error("yahoo_aliases","Badly formed XML\n");
 			return;
 		}
-		purple_debug_info("yahoo", "Fetched %i bytes of alias data\n", len);
+		purple_debug_info("yahoo", "Fetched %" G_GSIZE_FORMAT
+				" bytes of alias data\n", len);
 
 		/* Loop around and around and around until we have gone through all the received aliases  */
 		for(item = xmlnode_get_child(contacts, "ct"); item; item = xmlnode_get_next_twin(item)) {