diff options
Diffstat (limited to 'test/testpass.c')
-rw-r--r-- | test/testpass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testpass.c b/test/testpass.c index 4ba5c6952..e11fe81cb 100644 --- a/test/testpass.c +++ b/test/testpass.c @@ -125,7 +125,7 @@ static void test_shapass(abts_case *tc, void *data) const char *pass2 = "hellojed2"; char hash[100]; - apr_sha1_base64(pass, strlen(pass), hash); + apr_sha1_base64(pass, (unsigned int)strlen(pass), hash); APR_ASSERT_SUCCESS(tc, "SHA1 password validated", apr_password_validate(pass, hash)); |