]> granicus.if.org Git - apache/commitdiff
bitfields should be unsigned
authorJim Jagielski <jim@apache.org>
Tue, 1 Feb 2011 18:14:37 +0000 (18:14 +0000)
committerJim Jagielski <jim@apache.org>
Tue, 1 Feb 2011 18:14:37 +0000 (18:14 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1066112 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy.h

index bbacb3eefcfda2ccf5bc4281b2295b8c2b1bb4fb..2016cccb1cd71c99a52f889815bc2a6dadd2154c 100644 (file)
@@ -382,10 +382,10 @@ typedef struct {
     proxy_balancer_method *lbmethod;
     int             max_attempts;     /* Number of attempts before failing */
     int             index;      /* shm array index */
-    int             sticky_force:1;   /* Disable failover for sticky sessions */
-    int             scolonsep:1;      /* true if ';' seps sticky session paths */
-    int             max_attempts_set:1;
-    unsigned int     was_malloced:1;
+    unsigned int    sticky_force:1;   /* Disable failover for sticky sessions */
+    unsigned int    scolonsep:1;      /* true if ';' seps sticky session paths */
+    unsigned int    max_attempts_set:1;
+    unsigned int    was_malloced:1;
 } proxy_balancer_shared;
 
 #define ALIGNED_PROXY_BALANCER_SHARED_SIZE (APR_ALIGN_DEFAULT(sizeof(proxy_balancer_shared)))