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

[email protected]
Newsgroups gmane.comp.apache.apr.cvs
Message-ID <[email protected]>
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));
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.