# HG changeset patch # User Daniel Atallah # Date 1159322826 0 # Node ID ba12c5e9d7e7b98252b3e3f140b48497252cb3c6 # Parent eb2152e14df9973f46e3bd88451c174da1f487ca [gaim-migrate @ 17381] Fix some signedness warnings committer: Tailor Script diff -r eb2152e14df9 -r ba12c5e9d7e7 libgaim/protocols/jabber/jabber.c --- 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; diff -r eb2152e14df9 -r ba12c5e9d7e7 libgaim/protocols/jabber/oob.c --- 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;