diff libpurple/protocols/qq/im.c @ 24670:5ec72dbdd28e

Fix warnings where size_t/gsize was used for printf with the wrong format specifier and fix some free's that should be g_free. Fixes #7782. committer: Elliott Sales de Andrade <qulogic@pidgin.im>
author Paul Aurich <paul@darkrain42.org>
date Sun, 14 Dec 2008 02:58:44 +0000
parents fecedf6d9ee1
children 1300601041ac ca01403251f1
line wrap: on
line diff
--- a/libpurple/protocols/qq/im.c	Sat Dec 13 02:41:46 2008 +0000
+++ b/libpurple/protocols/qq/im.c	Sun Dec 14 02:58:44 2008 +0000
@@ -1258,7 +1258,7 @@
 	g_return_val_if_fail(who != NULL && what != NULL, -1);
 
 	qd = (qq_data *) gc->proto_data;
-	purple_debug_info("QQ", "Send IM to %s, len %d:\n%s\n", who, strlen(what), what);
+	purple_debug_info("QQ", "Send IM to %s, len %" G_GSIZE_FORMAT ":\n%s\n", who, strlen(what), what);
 
 	uid_to = purple_name_to_uid(who);
 	if (uid_to == qd->uid) {