diff options
author | Eric Covener <covener@apache.org> | 2022-06-01 12:21:45 +0000 |
---|---|---|
committer | Eric Covener <covener@apache.org> | 2022-06-01 12:21:45 +0000 |
commit | 6503d09ab51047554c384a6d03646ce1a8848120 (patch) | |
tree | 56ac79b99017922c572b744be9c02053149faa4d /server/util.c | |
parent | 45fa9949350c50371c6e050216a22077f6ee7f12 (diff) | |
download | httpd-6503d09ab51047554c384a6d03646ce1a8848120.tar.gz |
Merge r1901494 from trunk:
fix types
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1901495 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/util.c')
-rw-r--r-- | server/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/util.c b/server/util.c index 38080dc5dd..3f1a6c838e 100644 --- a/server/util.c +++ b/server/util.c @@ -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] != '*') |