summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'crypto')
-rw-r--r--crypto/apr_md5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/apr_md5.c b/crypto/apr_md5.c
index 078873c7..f22a1bb9 100644
--- a/crypto/apr_md5.c
+++ b/crypto/apr_md5.c
@@ -709,7 +709,7 @@ APU_DECLARE(apr_status_t) apr_password_validate(const char *passwd,
apr_md5_encode(passwd, hash, sample, sizeof(sample));
}
else if (!strncmp(hash, APR_SHA1PW_ID, APR_SHA1PW_IDLEN)) {
- apr_sha1_base64(passwd, strlen(passwd), sample);
+ apr_sha1_base64(passwd, (int)strlen(passwd), sample);
}
else {
/*