]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
fix types
authorEric Covener <covener@apache.org>
Wed, 1 Jun 2022 12:20:56 +0000 (12:20 +0000)
committerEric Covener <covener@apache.org>
Wed, 1 Jun 2022 12:20:56 +0000 (12:20 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1901494 13f79535-47bb-0310-9956-ffa450edef68

server/util.c

index c57258aeb39e5d246254bdb61bcf006c78f974df..cc0adbccd8e6d046cbb8eb1cf221ffe7e93cda4f 100644 (file)
@@ -186,7 +186,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] == '*') {
@@ -210,7 +210,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] != '*')