You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2007/08/23 10:12:56 UTC
svn commit: r568879 - /httpd/httpd/trunk/modules/metadata/mod_headers.c
Author: wrowe
Date: Thu Aug 23 01:12:55 2007
New Revision: 568879
URL: http://svn.apache.org/viewvc?rev=568879&view=rev
Log:
Supress the warning for compilers which fold *end-*start into ssize_t.
Modified:
httpd/httpd/trunk/modules/metadata/mod_headers.c
Modified: httpd/httpd/trunk/modules/metadata/mod_headers.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/metadata/mod_headers.c?rev=568879&r1=568878&r2=568879&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/metadata/mod_headers.c (original)
+++ httpd/httpd/trunk/modules/metadata/mod_headers.c Thu Aug 23 01:12:55 2007
@@ -641,7 +641,7 @@
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;