]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug #1778: Build error on Irix using SGI MipsPRO compiler
authorserassio <>
Fri, 27 Oct 2006 01:42:24 +0000 (01:42 +0000)
committerserassio <>
Fri, 27 Oct 2006 01:42:24 +0000 (01:42 +0000)
Single bit field must be unsigned

src/client_side.h
src/client_side_reply.h

index 42e076522be8de312e938a72871a67a2986df157..b94735c8028fdf615e54a3259e49cc5a22dea228 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: client_side.h,v 1.18 2006/09/02 06:49:48 robertc Exp $
+ * $Id: client_side.h,v 1.19 2006/10/26 19:42:24 serassio Exp $
  *
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
@@ -69,11 +69,9 @@ public:
     struct
     {
 
-int deferred:
-        1; /* This is a pipelined request waiting for the current object to complete */
+unsigned deferred: 1; /* This is a pipelined request waiting for the current object to complete */
 
-int parsed_ok:
-        1; /* Was this parsed correctly? */
+unsigned parsed_ok: 1; /* Was this parsed correctly? */
     }
 
     flags;
index 794068aba2b213f1890a754cd1380e7c3718df88..93348c88597b3288d0c74ab3db499b788280bd96 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: client_side_reply.h,v 1.15 2006/08/21 00:50:41 robertc Exp $
+ * $Id: client_side_reply.h,v 1.16 2006/10/26 19:42:24 serassio Exp $
  *
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
@@ -108,11 +108,9 @@ public:
     struct
     {
 
-int storelogiccomplete:
-        1;
+unsigned storelogiccomplete: 1;
 
-int complete:
-        1;             /* we have read all we can from upstream */
+unsigned complete: 1;          /* we have read all we can from upstream */
         bool headersSent;
     }