From: Amos Jeffries Date: Tue, 16 Jun 2009 23:32:41 +0000 (+1200) Subject: Fix Signed/Unsigned build error X-Git-Tag: SQUID_3_0_STABLE17~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6540d66250498bf3fa85f0fb3ff2687b01580fa;p=thirdparty%2Fsquid.git Fix Signed/Unsigned build error --- diff --git a/src/client_side.cc b/src/client_side.cc index 5e616f0198..81ba2fe279 100755 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -2141,7 +2141,7 @@ connKeepReadingIncompleteRequest(ConnStateData::Pointer & conn) // when we read chunked requests, the entire body is buffered // XXX: this check ignores header size and its limits. if (conn->in.dechunkingState == ConnStateData::chunkParsing) - return conn->in.notYetUsed < Config.maxChunkedRequestBodySize; + return ((int64_t)conn->in.notYetUsed) < Config.maxChunkedRequestBodySize; return conn->in.notYetUsed >= Config.maxRequestHeaderSize ? 0 : 1; }