# HG changeset patch # User Mark Doliner # Date 1177309298 0 # Node ID c1f2831c1afef08dcb370a8f6f46c4f6333a6455 # Parent ee4ce3c4186f34ea23bc9c99ff2e42016fe1aa9f Get rid of two really minor warnings diff -r ee4ce3c4186f -r c1f2831c1afe libpurple/protocols/jabber/auth.c --- 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