summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorEric Covener <covener@apache.org>2022-06-01 12:20:56 +0000
committerEric Covener <covener@apache.org>2022-06-01 12:20:56 +0000
commit929c7156cefdd2f74f83dcab2b15b2d09e80ec82 (patch)
treeb15060c83c856b2cdb4458ecb22832c12a4e14be /server
parent8b32639ae0f01fd3d7c6852df44b3f12a5d59801 (diff)
downloadhttpd-929c7156cefdd2f74f83dcab2b15b2d09e80ec82.tar.gz
fix types
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1901494 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server')
-rw-r--r--server/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/util.c b/server/util.c
index c57258aeb3..cc0adbccd8 100644
--- a/server/util.c
+++ b/server/util.c
@@ -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] != '*')