From 944823a2f6c1899295c156de9636a4939b3f3dcf Mon Sep 17 00:00:00 2001 From: Bill Stoddard Date: Tue, 27 Jun 2000 22:39:13 +0000 Subject: [PATCH] Fix another compiler warning. Forgot to commit this one along with the earlier patch. Sorry... Submitted by: Victor Orlikowski Reviewed by: Bill Stoddard git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85713 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 be7e95f459..1363f747bd 100644 --- a/support/htpasswd.c +++ b/support/htpasswd.c @@ -222,7 +222,7 @@ static int mkrecord(char *user, char *record, size_t rlen, char *passwd, to64(&salt[0], rand(), 8); salt[8] = '\0'; - ap_MD5Encode((const unsigned char *)pw, (const unsigned char *)salt, + ap_MD5Encode((const char *)pw, (const char *)salt, cpw, sizeof(cpw)); break; -- 2.40.0