Mercurial > pidgin
changeset 16316:c1f2831c1afe
Get rid of two really minor warnings
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 23 Apr 2007 06:21:38 +0000 |
parents | ee4ce3c4186f |
children | cb1ea9f878f5 |
files | libpurple/protocols/jabber/auth.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/auth.c Mon Apr 23 03:02:37 2007 +0000 +++ b/libpurple/protocols/jabber/auth.c Mon Apr 23 06:21:38 2007 +0000 @@ -831,7 +831,7 @@ { const char *ns = xmlnode_get_namespace(packet); #ifdef HAVE_CYRUS_SASL - const int *x; + const void *x; #endif if(!ns || strcmp(ns, "urn:ietf:params:xml:ns:xmpp-sasl")) { @@ -865,9 +865,9 @@ } /* If we've negotiated a security layer, we need to enable it */ sasl_getprop(js->sasl, SASL_SSF, &x); - if (*x > 0) { + if (*(int *)x > 0) { sasl_getprop(js->sasl, SASL_MAXOUTBUF, &x); - js->sasl_maxbuf = *x; + js->sasl_maxbuf = *(int *)x; } #endif