From 5984212e770ae930a6f8a9053ed237c2760725db Mon Sep 17 00:00:00 2001 From: AeroStun <24841307+AeroStun@users.noreply.github.com> Date: Sun, 6 Oct 2019 15:45:39 +0200 Subject: [PATCH] Silence integer narrowing in inflate stream tests Signed-off-by: AeroStun <24841307+AeroStun@users.noreply.github.com> --- test/beast/zlib/inflate_stream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/beast/zlib/inflate_stream.cpp b/test/beast/zlib/inflate_stream.cpp index 7d2a20b6..5152440e 100644 --- a/test/beast/zlib/inflate_stream.cpp +++ b/test/beast/zlib/inflate_stream.cpp @@ -399,7 +399,7 @@ public: std::string out(1024, 0); z_params zs; inflate_stream is; - is.reset(window_size); + is.reset(static_cast(window_size)); boost::system::error_code ec; zs.next_in = &*in.begin();