]> granicus.if.org Git - apache/commitdiff
* include/http_core.h
authorPaul Querna <pquerna@apache.org>
Wed, 29 Oct 2008 08:39:26 +0000 (08:39 +0000)
committerPaul Querna <pquerna@apache.org>
Wed, 29 Oct 2008 08:39:26 +0000 (08:39 +0000)
  (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

include/http_core.h

index a39c9a83963333ed8b9aed635662997a55b2bd06..eb31cac29902b0cc30356dde1f321f2fed07f7e0 100644 (file)
@@ -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)