Skip to content

Commit

Permalink
Silence integer narrowing in inflate stream tests
Browse files Browse the repository at this point in the history
Signed-off-by: AeroStun <[email protected]>
  • Loading branch information
AeroStun authored and vinniefalco committed Oct 7, 2019
1 parent 2ce0a10 commit 5984212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/beast/zlib/inflate_stream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ class inflate_stream_test : public beast::unit_test::suite
std::string out(1024, 0);
z_params zs;
inflate_stream is;
is.reset(window_size);
is.reset(static_cast<int>(window_size));
boost::system::error_code ec;

zs.next_in = &*in.begin();
Expand Down

0 comments on commit 5984212

Please sign in to comment.