You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by iv...@apache.org on 2025/05/17 15:08:49 UTC

svn commit: r1925641 - in /apr/apr-util/branches/1.7.x: ./ test/testpass.c

Author: ivan
Date: Sat May 17 15:08:49 2025
New Revision: 1925641

URL: http://svn.apache.org/viewvc?rev=1925641&view=rev
Log:
Merge r1902205 from apr/trunk:
  tests: Fix numeric types warnings.

Modified:
    apr/apr-util/branches/1.7.x/   (props changed)
    apr/apr-util/branches/1.7.x/test/testpass.c

Propchange: apr/apr-util/branches/1.7.x/
------------------------------------------------------------------------------
  Merged /apr/apr/trunk:r1902205

Modified: apr/apr-util/branches/1.7.x/test/testpass.c
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.7.x/test/testpass.c?rev=1925641&r1=1925640&r2=1925641&view=diff
==============================================================================
--- apr/apr-util/branches/1.7.x/test/testpass.c (original)
+++ apr/apr-util/branches/1.7.x/test/testpass.c Sat May 17 15:08:49 2025
@@ -125,7 +125,7 @@ static void test_shapass(abts_case *tc,
     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));