From 5cd4500b313af3f2d4e78a1468388bc28fa1a1d6 Mon Sep 17 00:00:00 2001 From: Bradley Nicholes Date: Tue, 10 Sep 2002 22:32:46 +0000 Subject: [PATCH] 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 --- support/htpasswd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- 2.50.1