Mercurial > pidgin
comparison libgaim/protocols/jabber/jabber.c @ 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 | a35ed72bf50a |
children | 459dafda90af |
comparison
equal
deleted
inserted
replaced
14634:eb2152e14df9 | 14635:ba12c5e9d7e7 |
---|---|
400 | 400 |
401 if((len = read(js->fd, buf, sizeof(buf) - 1)) > 0) { | 401 if((len = read(js->fd, buf, sizeof(buf) - 1)) > 0) { |
402 #ifdef HAVE_CYRUS_SASL | 402 #ifdef HAVE_CYRUS_SASL |
403 if (js->sasl_maxbuf>0) { | 403 if (js->sasl_maxbuf>0) { |
404 const char *out; | 404 const char *out; |
405 int olen; | 405 unsigned int olen; |
406 sasl_decode(js->sasl, buf, len, &out, &olen); | 406 sasl_decode(js->sasl, buf, len, &out, &olen); |
407 if (olen>0) { | 407 if (olen>0) { |
408 gaim_debug(GAIM_DEBUG_INFO, "jabber", "RecvSASL (%d): %s\n", olen, out); | 408 gaim_debug(GAIM_DEBUG_INFO, "jabber", "RecvSASL (%u): %s\n", olen, out); |
409 jabber_parser_process(js,out,olen); | 409 jabber_parser_process(js,out,olen); |
410 } | 410 } |
411 return; | 411 return; |
412 } | 412 } |
413 #endif | 413 #endif |