From: William A. Rowe Jr <wrowe@apache.org>
Date: Thu, 23 Aug 2007 08:12:55 +0000 (+0000)
Subject: Supress the warning for compilers which fold *end-*start into ssize_t.
X-Git-Tag: 2.3.0~1560
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=15cbde542370c7799aae9291727de18c1493987f;p=apache

Supress the warning for compilers which fold *end-*start into ssize_t.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@568879 13f79535-47bb-0310-9956-ffa450edef68
---

diff --git a/modules/metadata/mod_headers.c b/modules/metadata/mod_headers.c
index 6d459b880b..d35c44f14b 100644
--- a/modules/metadata/mod_headers.c
+++ b/modules/metadata/mod_headers.c
@@ -641,7 +641,7 @@ static void do_headers_fixup(request_rec *r, apr_table_t *headers,
                                     break;
                     }
 
-                    if (new_val_len == (val - tok_start)
+                    if (new_val_len == (apr_size_t)(val - tok_start)
                         && !strncmp(tok_start, new_val, new_val_len)) {
                         tok_found = 1;
                         break;