diff options
author | Russell Bryant <russell@russellbryant.com> | 2006-07-07 07:00:28 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2006-07-07 07:00:28 +0000 |
commit | a0f151db9974081a0821015eaef042b9055721ca (patch) | |
tree | 105697e50378a178fd03ef5f6676792ce573d78a /res | |
parent | a10e1dad075dcb4c43b9efce98a157ef9799cfc7 (diff) |
eliminate a pointer signedness warning
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37289 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res')
-rw-r--r-- | res/res_jabber.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_jabber.c b/res/res_jabber.c index 52018891f..b1788ced9 100644 --- a/res/res_jabber.c +++ b/res/res_jabber.c @@ -516,7 +516,7 @@ static int aji_act_hook(void *data, int type, iks *node) 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); |