From: Amos Jeffries Date: Mon, 20 Jul 2009 10:09:22 +0000 (+1200) Subject: Bug 2716: Fix Signed/Unsigned build error X-Git-Tag: SQUID_3_2_0_1~863 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=821e0b6561a8dba0b99096cc9b003d523650eab4;p=thirdparty%2Fsquid.git Bug 2716: Fix Signed/Unsigned build error Patch for chunked-requests ported to 3.0 was still omitted when same was merged to 3.1. --- diff --git a/src/client_side.cc b/src/client_side.cc index dfd24e696e..4aab181d8b 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -2222,7 +2222,7 @@ connKeepReadingIncompleteRequest(ConnStateData * 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; }