diff options
author | Bradley Nicholes <bnicholes@apache.org> | 2002-09-11 00:32:46 +0200 |
---|---|---|
committer | Bradley Nicholes <bnicholes@apache.org> | 2002-09-11 00:32:46 +0200 |
commit | 5cd4500b313af3f2d4e78a1468388bc28fa1a1d6 (patch) | |
tree | e02b288b3d525145ff26d5df47f6ceee43f260ed /support | |
parent | Fix memory leak in core_output_filter. (diff) | |
download | apache2-5cd4500b313af3f2d4e78a1468388bc28fa1a1d6.tar.xz apache2-5cd4500b313af3f2d4e78a1468388bc28fa1a1d6.zip |
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
Diffstat (limited to 'support')
-rw-r--r-- | support/htpasswd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/htpasswd.c b/support/htpasswd.c index 4a847bb2fa..4dfa314502 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]; |