diff libpurple/protocols/msn/msg.c @ 31031:61db10475bed

As Mark did before, we probably don't need a return value from these unref functions. Also, make the ref counts unsigned.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Wed, 15 Dec 2010 04:17:59 +0000
parents 5eb2ea662d8c
children 52616e4f2299
line wrap: on
line diff
--- a/libpurple/protocols/msn/msg.c	Wed Dec 15 00:00:12 2010 +0000
+++ b/libpurple/protocols/msn/msg.c	Wed Dec 15 04:17:59 2010 +0000
@@ -83,7 +83,7 @@
 	msg->ref_count++;
 
 	if (purple_debug_is_verbose())
-		purple_debug_info("msn", "message ref (%p)[%" G_GSIZE_FORMAT "]\n", msg, msg->ref_count);
+		purple_debug_info("msn", "message ref (%p)[%u]\n", msg, msg->ref_count);
 
 	return msg;
 }
@@ -97,7 +97,7 @@
 	msg->ref_count--;
 
 	if (purple_debug_is_verbose())
-		purple_debug_info("msn", "message unref (%p)[%" G_GSIZE_FORMAT "]\n", msg, msg->ref_count);
+		purple_debug_info("msn", "message unref (%p)[%u]\n", msg, msg->ref_count);
 
 	if (msg->ref_count == 0)
 		msn_message_destroy(msg);