[Asterisk-cvs] asterisk utils.c,1.72,1.73

markster markster
Sat Oct 15 23:16:22 CDT 2005


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv7400

Modified Files:
	utils.c 
Log Message:
More utility cleanups


Index: utils.c
===================================================================
RCS file: /usr/cvsroot/asterisk/utils.c,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -d -r1.72 -r1.73
--- utils.c	1 Oct 2005 15:41:27 -0000	1.72
+++ utils.c	16 Oct 2005 03:10:33 -0000	1.73
@@ -278,7 +278,7 @@
 		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 @@
 	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;




More information about the svn-commits mailing list