[asterisk-commits] branch 1.2 - r7430 /branches/1.2/utils/astman.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Sun Dec 11 00:08:58 CST 2005
Author: russell
Date: Sun Dec 11 00:08:56 2005
New Revision: 7430
URL: http://svn.digium.com/view/asterisk?rev=7430&view=rev
Log:
silence a couple of compiler warnings about pointer signedness
Modified:
branches/1.2/utils/astman.c
Modified: branches/1.2/utils/astman.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/utils/astman.c?rev=7430&r1=7429&r2=7430&view=diff
==============================================================================
--- branches/1.2/utils/astman.c (original)
+++ branches/1.2/utils/astman.c Sun Dec 11 00:08:56 2005
@@ -660,8 +660,8 @@
struct MD5Context md5;
unsigned char digest[16];
MD5Init(&md5);
- MD5Update(&md5, challenge, strlen(challenge));
- MD5Update(&md5, pass, strlen(pass));
+ MD5Update(&md5, (unsigned char *)challenge, strlen(challenge));
+ MD5Update(&md5, (unsigned char *)pass, strlen(pass));
MD5Final(digest, &md5);
for (x=0; x<16; x++)
len += sprintf(md5key + len, "%2.2x", digest[x]);
More information about the asterisk-commits
mailing list