From dadd1bc7852415c1d2c8a531d152da8c8f6f6a1e Mon Sep 17 00:00:00 2001 From: Mohammad Nejati Date: Fri, 5 Jul 2024 15:51:24 +0000 Subject: [PATCH] fix narrowing conversion in read_size_hint_db() --- include/boost/beast/websocket/detail/impl_base.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/beast/websocket/detail/impl_base.hpp b/include/boost/beast/websocket/detail/impl_base.hpp index e5980bc0..62aa1675 100644 --- a/include/boost/beast/websocket/detail/impl_base.hpp +++ b/include/boost/beast/websocket/detail/impl_base.hpp @@ -311,7 +311,7 @@ struct impl_base read_size_hint_pmd( std::size_t initial_size, bool rd_done, - std::uint64_t rd_msg_max, + std::size_t rd_msg_max, std::uint64_t rd_remain, frame_header const& rd_fh) const { @@ -465,7 +465,7 @@ struct impl_base read_size_hint_pmd( std::size_t initial_size, bool rd_done, - std::uint64_t rd_msg_max, + std::size_t rd_msg_max, std::uint64_t rd_remain, frame_header const& rd_fh) const {