From: Bradley Nicholes Date: Tue, 10 Sep 2002 22:32:46 +0000 (+0000) Subject: Avoid a compiler error on NetWare X-Git-Tag: 2.0.42~83 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cd4500b313af3f2d4e78a1468388bc28fa1a1d6;p=thirdparty%2Fapache%2Fhttpd.git Avoid a compiler error on NetWare Submitted by: Jean-Jacques Clar (jjclar@novell.com) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96753 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/support/htpasswd.c b/support/htpasswd.c index 4a847bb2fa0..4dfa3145025 100644 --- a/support/htpasswd.c +++ b/support/htpasswd.c @@ -215,7 +215,7 @@ static int mkrecord(char *user, char *record, apr_size_t rlen, char *passwd, int i; /* Take the MD5 hash of the string argument. */ - apr_md5(hash, pw, strlen(pw)); + apr_md5(hash, (const unsigned char*)pw, strlen(pw)); for (i = 0, r = cpw; i < MD5_DIGESTSIZE; i++) { *r++ = hex[hash[i] >> 4];