changeset 14635:ba12c5e9d7e7

[gaim-migrate @ 17381] Fix some signedness warnings committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Wed, 27 Sep 2006 02:07:06 +0000
parents eb2152e14df9
children 2c09131fffa5
files libgaim/protocols/jabber/jabber.c libgaim/protocols/jabber/oob.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libgaim/protocols/jabber/jabber.c	Wed Sep 27 02:01:29 2006 +0000
+++ b/libgaim/protocols/jabber/jabber.c	Wed Sep 27 02:07:06 2006 +0000
@@ -402,10 +402,10 @@
 #ifdef HAVE_CYRUS_SASL
 		if (js->sasl_maxbuf>0) {
 			const char *out;
-			int olen;
+			unsigned int olen;
 			sasl_decode(js->sasl, buf, len, &out, &olen);
 			if (olen>0) {
-				gaim_debug(GAIM_DEBUG_INFO, "jabber", "RecvSASL (%d): %s\n", olen, out);
+				gaim_debug(GAIM_DEBUG_INFO, "jabber", "RecvSASL (%u): %s\n", olen, out);
 				jabber_parser_process(js,out,olen);
 			}
 			return;
--- a/libgaim/protocols/jabber/oob.c	Wed Sep 27 02:01:29 2006 +0000
+++ b/libgaim/protocols/jabber/oob.c	Wed Sep 27 02:07:06 2006 +0000
@@ -143,7 +143,7 @@
 
 			tmp += 4;
 
-			*buffer = g_strdup(tmp);
+			*buffer = (unsigned char*) g_strdup(tmp);
 			return strlen(tmp);
 		}
 		return 0;