We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f872859 commit fa76515Copy full SHA for fa76515
boost/network/protocol/http/client/connection/async_protocol_handler.hpp
@@ -348,9 +348,9 @@ struct http_async_protocol_handler {
348
}
349
return false;
350
351
-
+
352
inline bool parse_content_length_complete() const {
353
- return this->partial_parsed.length() >= this-> content_length;
+ return static_cast<std::ptrdiff_t>(this->partial_parsed.length()) >= this->content_length;
354
355
356
bool parse_chunk_encoding_complete() const {
0 commit comments