[asterisk-commits] trunk r37289 - /trunk/res/res_jabber.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Jul 7 00:00:29 MST 2006


Author: russell
Date: Fri Jul  7 02:00:28 2006
New Revision: 37289

URL: http://svn.digium.com/view/asterisk?rev=37289&view=rev
Log:
eliminate a pointer signedness warning

Modified:
    trunk/res/res_jabber.c

Modified: trunk/res/res_jabber.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_jabber.c?rev=37289&r1=37288&r2=37289&view=diff
==============================================================================
--- trunk/res/res_jabber.c (original)
+++ trunk/res/res_jabber.c Fri Jul  7 02:00:28 2006
@@ -516,7 +516,7 @@
 										char *base64 = ast_malloc(80 + len * 2);
 										iks_insert_attrib(x, "mechanism", "PLAIN");
 										sprintf(s, "%c%s%c%s", 0, client->jid->user, 0, client->password);
-										ast_base64encode(base64, s, len, len * 2);
+										ast_base64encode(base64, (const unsigned char *) s, len, len * 2);
 										iks_insert_cdata(x, base64, 0);
 										iks_send(client->p, x);
 										iks_delete(x);



More information about the asterisk-commits mailing list