mirror of
https://github.com/boostorg/beast.git
synced 2025-08-03 06:44:39 +02:00
Silence integer narrowing in inflate stream tests
Signed-off-by: AeroStun <24841307+AeroStun@users.noreply.github.com>
This commit is contained in:
@@ -399,7 +399,7 @@ public:
|
|||||||
std::string out(1024, 0);
|
std::string out(1024, 0);
|
||||||
z_params zs;
|
z_params zs;
|
||||||
inflate_stream is;
|
inflate_stream is;
|
||||||
is.reset(window_size);
|
is.reset(static_cast<int>(window_size));
|
||||||
boost::system::error_code ec;
|
boost::system::error_code ec;
|
||||||
|
|
||||||
zs.next_in = &*in.begin();
|
zs.next_in = &*in.begin();
|
||||||
|
Reference in New Issue
Block a user