]> granicus.if.org Git - apache/commitdiff
Use unsigned bit flags (otherwise the non-zero value to be used is -1).
authorYann Ylavic <ylavic@apache.org>
Thu, 19 Jun 2014 12:43:05 +0000 (12:43 +0000)
committerYann Ylavic <ylavic@apache.org>
Thu, 19 Jun 2014 12:43:05 +0000 (12:43 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1603863 13f79535-47bb-0310-9956-ffa450edef68

modules/aaa/mod_auth_basic.c
modules/http/http_filters.c

index 4c04ae496ba66c85cf20d8866016691ede725afd..1a7d50b11e785c7077c82754e625e2ac2de973e1 100644 (file)
@@ -40,9 +40,9 @@ typedef struct {
     ap_expr_info_t *fakeuser;
     ap_expr_info_t *fakepass;
     const char *use_digest_algorithm;
-    int fake_set:1;
-    int use_digest_algorithm_set:1;
-    int authoritative_set:1;
+    unsigned int fake_set:1,
+                 use_digest_algorithm_set:1,
+                 authoritative_set:1;
 } auth_basic_config_rec;
 
 static void *create_auth_basic_dir_config(apr_pool_t *p, char *d)
index dc3220e34493e95daac5efc085b18f897cf335d9..11d5cf8f774632b0d09208c62bb1d3197f32c837 100644 (file)
@@ -77,7 +77,7 @@ typedef struct http_filter_ctx
         BODY_CHUNK_END, /* chunk terminating CRLF */
         BODY_CHUNK_TRAILER /* trailers */
     } state :3;
-    int eos_sent :1;
+    unsigned int eos_sent :1;
 } http_ctx_t;
 
 /**