From: <dat...@us...> - 2006-09-27 02:07:10
|
Revision: 17381 http://svn.sourceforge.net/gaim/?rev=17381&view=rev Author: datallah Date: 2006-09-26 19:07:06 -0700 (Tue, 26 Sep 2006) Log Message: ----------- Fix some signedness warnings Modified Paths: -------------- trunk/libgaim/protocols/jabber/jabber.c trunk/libgaim/protocols/jabber/oob.c Modified: trunk/libgaim/protocols/jabber/jabber.c =================================================================== --- trunk/libgaim/protocols/jabber/jabber.c 2006-09-27 02:01:29 UTC (rev 17380) +++ trunk/libgaim/protocols/jabber/jabber.c 2006-09-27 02:07:06 UTC (rev 17381) @@ -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; Modified: trunk/libgaim/protocols/jabber/oob.c =================================================================== --- trunk/libgaim/protocols/jabber/oob.c 2006-09-27 02:01:29 UTC (rev 17380) +++ trunk/libgaim/protocols/jabber/oob.c 2006-09-27 02:07:06 UTC (rev 17381) @@ -143,7 +143,7 @@ tmp += 4; - *buffer = g_strdup(tmp); + *buffer = (unsigned char*) g_strdup(tmp); return strlen(tmp); } return 0; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |