summaryrefslogtreecommitdiff
path: root/utils.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2005-10-16 03:10:33 +0000
committerMark Spencer <markster@digium.com>2005-10-16 03:10:33 +0000
commit1ceb04cfb73773ecd5c977f9cb8e2d6c1439199b (patch)
treef889c84b35fcf770b89185d4a367292d66fc5bd7 /utils.c
parent4803298fe87c365c30bae7c3c71e3de7086d3389 (diff)
More utility cleanups
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6798 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'utils.c')
-rwxr-xr-xutils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils.c b/utils.c
index fd99d581f..0c615cdd3 100755
--- a/utils.c
+++ b/utils.c
@@ -278,7 +278,7 @@ void ast_md5_hash(char *output, char *input)
ptr += sprintf(ptr, "%2.2x", digest[x]);
}
-int ast_base64decode(unsigned char *dst, char *src, int max)
+int ast_base64decode(unsigned char *dst, const char *src, int max)
{
int cnt = 0;
unsigned int byte = 0;
@@ -316,7 +316,7 @@ int ast_base64decode(unsigned char *dst, char *src, int max)
return cnt;
}
-int ast_base64encode(char *dst, unsigned char *src, int srclen, int max)
+int ast_base64encode(char *dst, const unsigned char *src, int srclen, int max)
{
int cnt = 0;
unsigned int byte = 0;