From 0398fc94a97a4e37b2bb34d9a137447f778b634a Mon Sep 17 00:00:00 2001 From: anonimal Date: Sun, 8 Jan 2017 06:16:02 +0000 Subject: [PATCH] http_async_protocol_handler: use unsigned type for content length Resolves comparison between signed and unsigned integer expressions References #721 --- .../protocol/http/client/connection/async_protocol_handler.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boost/network/protocol/http/client/connection/async_protocol_handler.hpp b/boost/network/protocol/http/client/connection/async_protocol_handler.hpp index e6bdc426b..6e31ae6b9 100644 --- a/boost/network/protocol/http/client/connection/async_protocol_handler.hpp +++ b/boost/network/protocol/http/client/connection/async_protocol_handler.hpp @@ -416,7 +416,7 @@ struct http_async_protocol_handler { bool is_chunk_encoding; bool is_chunk_end; bool is_content_length; - long long content_length; + long long unsigned content_length; }; } // namespace impl