]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Merge r1901494 from trunk:
authorEric Covener <covener@apache.org>
Wed, 1 Jun 2022 12:21:45 +0000 (12:21 +0000)
committerEric Covener <covener@apache.org>
Wed, 1 Jun 2022 12:21:45 +0000 (12:21 +0000)
fix types

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1901495 13f79535-47bb-0310-9956-ffa450edef68

server/util.c

index 38080dc5dd151a9d2146e8fd6c8e5473cfa5048b..3f1a6c838e55fb3cf1448869aba26c6ebdac37d2 100644 (file)
@@ -185,7 +185,7 @@ AP_DECLARE(char *) ap_ht_time(apr_pool_t *p, apr_time_t t, const char *fmt,
  */
 AP_DECLARE(int) ap_strcmp_match(const char *str, const char *expected)
 {
-    int x, y;
+    apr_size_t x, y;
 
     for (x = 0, y = 0; expected[y]; ++y, ++x) {
         if (expected[y] == '*') {
@@ -209,7 +209,7 @@ AP_DECLARE(int) ap_strcmp_match(const char *str, const char *expected)
 
 AP_DECLARE(int) ap_strcasecmp_match(const char *str, const char *expected)
 {
-    int x, y;
+    apr_size_t x, y;
 
     for (x = 0, y = 0; expected[y]; ++y, ++x) {
         if (!str[x] && expected[y] != '*')