libpurple/protocols/jabber/si.c

branch
soc.2013.gobjectification
changeset 35001
85144a4a7942
parent 34955
854143116575
parent 34457
a9d3726c3a8f
child 35029
f9f672dcaadf
child 36858
920cf8db7c68
--- a/libpurple/protocols/jabber/si.c	Thu Oct 03 06:46:47 2013 +0530
+++ b/libpurple/protocols/jabber/si.c	Sun Oct 06 18:13:03 2013 +0530
@@ -58,7 +58,7 @@
 		STREAM_METHOD_UNKNOWN     = 0,
 		STREAM_METHOD_BYTESTREAMS = 2 << 1,
 		STREAM_METHOD_IBB         = 2 << 2,
-		STREAM_METHOD_UNSUPPORTED = 2 << 31
+		STREAM_METHOD_UNSUPPORTED = 2 << 30
 	} stream_method;
 
 	GList *streamhosts;
@@ -616,11 +616,11 @@
 		return;
 	}
 
-	purple_debug_info("jabber", "going to test %hu different methods\n", jsx->rxqueue[1]);
+	purple_debug_info("jabber", "going to test %u different methods\n", (guint)jsx->rxqueue[1]);
 
 	for(i=0; i<jsx->rxqueue[1]; i++) {
 
-		purple_debug_info("jabber", "testing %hu\n", jsx->rxqueue[i+2]);
+		purple_debug_info("jabber", "testing %u\n", (guint)jsx->rxqueue[i+2]);
 		if(jsx->rxqueue[i+2] == 0x00) {
 			g_free(jsx->rxqueue);
 			jsx->rxlen = 0;

mercurial