From: serassio <> Date: Fri, 27 Oct 2006 01:42:24 +0000 (+0000) Subject: Bug #1778: Build error on Irix using SGI MipsPRO compiler X-Git-Tag: SQUID_3_0_PRE5~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=081ef8a7ed94d3f8e1fa409569f5b3f5e81de936;p=thirdparty%2Fsquid.git Bug #1778: Build error on Irix using SGI MipsPRO compiler Single bit field must be unsigned --- diff --git a/src/client_side.h b/src/client_side.h index 42e076522b..b94735c802 100644 --- a/src/client_side.h +++ b/src/client_side.h @@ -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; diff --git a/src/client_side_reply.h b/src/client_side_reply.h index 794068aba2..93348c8859 100644 --- a/src/client_side_reply.h +++ b/src/client_side_reply.h @@ -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; }