Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0398fc9

Browse files
committed
http_async_protocol_handler: use unsigned type for content length
Resolves comparison between signed and unsigned integer expressionsReferences#721
1 parent1277fa6 commit0398fc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎boost/network/protocol/http/client/connection/async_protocol_handler.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ struct http_async_protocol_handler {
416416
bool is_chunk_encoding;
417417
bool is_chunk_end;
418418
bool is_content_length;
419-
longlong content_length;
419+
longlongunsignedcontent_length;
420420
};
421421

422422
}// namespace impl

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp