diff libpurple/protocols/qq/group_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 59aae7636111
children effbf24b39b1
line wrap: on
line diff
--- a/libpurple/protocols/qq/group_im.c	Sat Dec 13 02:41:46 2008 +0000
+++ b/libpurple/protocols/qq/group_im.c	Sun Dec 14 02:58:44 2008 +0000
@@ -378,7 +378,7 @@
 	g_return_val_if_fail(id != 0 && what != NULL, -1);
 
 	qd = (qq_data *) gc->proto_data;
-	purple_debug_info("QQ", "Send chat IM to %u, len %d:\n%s\n", id, strlen(what), what);
+	purple_debug_info("QQ", "Send chat IM to %u, len %" G_GSIZE_FORMAT ":\n%s\n", id, strlen(what), what);
 
 	/* qq_show_packet("chat IM UTF8", (guint8 *)what, strlen(what)); */