changeset 24658:68eba2bafa6f

2008.12.17 - flos <lonicerae(at)gmail.com> * Minor fixed in buddy_info.c
author SHiNE CsyFeK <csyfek@gmail.com>
date Wed, 17 Dec 2008 13:52:00 +0000
parents 59aae7636111
children 0d7c21b5f1d7
files libpurple/protocols/qq/ChangeLog libpurple/protocols/qq/buddy_info.c
diffstat 2 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/qq/ChangeLog	Thu Dec 11 04:32:01 2008 +0000
+++ b/libpurple/protocols/qq/ChangeLog	Wed Dec 17 13:52:00 2008 +0000
@@ -1,3 +1,6 @@
+2008.12.17 - flos <lonicerae(at)gmail.com>
+	* Minor fixed in buddy_info.c
+
 2008.12.06 - flos <lonicerae(at)gmail.com>
 	* Removed version checking script in Makefiles since our developers all migrated to monotone
 	* Use our development revision as OPENQ_VERSION in qq.c
--- a/libpurple/protocols/qq/buddy_info.c	Thu Dec 11 04:32:01 2008 +0000
+++ b/libpurple/protocols/qq/buddy_info.c	Wed Dec 17 13:52:00 2008 +0000
@@ -798,7 +798,7 @@
 		bytes += qq_get32(&onlineTime, data + bytes);
 		bytes += qq_get16(&level, data + bytes);
 		bytes += qq_get16(&timeRemainder, data + bytes);
-		purple_debug_info("QQ", "level: %d, uid %d, tmOnline: %d, tmRemainder: %d\n",
+		purple_debug_info("QQ", "level: %d, uid %u, tmOnline: %d, tmRemainder: %d\n",
 				level, uid, onlineTime, timeRemainder);
 
 		bd = qq_buddy_data_find(gc, uid);
@@ -833,12 +833,12 @@
 	bytes += qq_get32(&onlineTime, data + bytes);
 	bytes += qq_get16(&level, data + bytes);
 	bytes += qq_get16(&timeRemainder, data + bytes);
-	purple_debug_info("QQ", "level: %d, uid %d, tmOnline: %d, tmRemainder: %d\n",
+	purple_debug_info("QQ", "level: %d, uid %u, tmOnline: %d, tmRemainder: %d\n",
 			level, uid, onlineTime, timeRemainder);
 
 	bd = qq_buddy_data_find(gc, uid);
 	if (bd == NULL) {
-		purple_debug_error("QQ", "Got levels of %d not in my buddy list\n", uid);
+		purple_debug_error("QQ", "Got levels of %u not in my buddy list\n", uid);
 		return;
 	}