From: Paul Querna Date: Wed, 29 Oct 2008 08:39:26 +0000 (+0000) Subject: * include/http_core.h X-Git-Tag: 2.3.0~210 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1643f818ae6416771e178ff8bff22f6c4b8b8b6c;p=thirdparty%2Fapache%2Fhttpd.git * include/http_core.h (core_dir_config): Fix warning: overflow in implicit constant conversion, generated by core.c line 117, which sets content_md5 to '2', which is too big for a signed value -- but it looks like this was really meant to be unsigned. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@708828 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/include/http_core.h b/include/http_core.h index a39c9a83963..eb31cac2990 100644 --- a/include/http_core.h +++ b/include/http_core.h @@ -461,7 +461,7 @@ typedef struct { #define HOSTNAME_LOOKUP_UNSET 3 unsigned int hostname_lookups : 4; - signed int content_md5 : 2; /* calculate Content-MD5? */ + unsigned int content_md5 : 2; /* calculate Content-MD5? */ #define USE_CANONICAL_NAME_OFF (0) #define USE_CANONICAL_NAME_ON (1)