diff libpurple/protocols/yahoo/yahoo_profile.c @ 22475: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 b0ed2ce8514d
children 7d8c06d88125 85d5b6c06a6c
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo_profile.c	Sun Mar 16 20:35:23 2008 +0000
+++ b/libpurple/protocols/yahoo/yahoo_profile.c	Sun Mar 16 20:36:52 2008 +0000
@@ -1051,7 +1051,8 @@
 			purple_debug_info("yahoo", "Error getting %s: %s\n",
 					photo_url_text, url_text);
 		} else {
-			purple_debug_info("yahoo", "%s is %d bytes\n", photo_url_text, len);
+			purple_debug_info("yahoo", "%s is %" G_GSIZE_FORMAT
+					" bytes\n", photo_url_text, len);
 			id = purple_imgstore_add_with_id(g_memdup(url_text, len), len, NULL);
 			
 			tmp = g_strdup_printf("<img id=\"%d\"><br>", id);