Skip to content
Snippets Groups Projects
Commit ada97b37 authored by Tilghman Lesher's avatar Tilghman Lesher
Browse files

Fix compile time warnings

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9548 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 99f10b2e
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ static char *base64_encode(struct ast_channel *chan, char *cmd, char *data, char
}
ast_log(LOG_DEBUG, "data=%s\n",data);
res = ast_base64encode(buf, data, strlen(data), len);
res = ast_base64encode(buf, (unsigned char *)data, strlen(data), len);
ast_log(LOG_DEBUG, "res=%d\n", res);
return buf;
}
......@@ -59,7 +59,7 @@ static char *base64_decode(struct ast_channel *chan, char *cmd, char *data, char
}
ast_log(LOG_DEBUG, "data=%s\n", data);
ast_base64decode(buf, data, len);
ast_base64decode((unsigned char *)buf, data, len);
return buf;
}
......
......@@ -20,6 +20,7 @@
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment