Skip to content

Commit 770e84f

Browse files
committed
fix narrowing conversion in read_size_hint_db()
1 parent a3a800b commit 770e84f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/boost/beast/websocket/detail/impl_base.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ struct impl_base<true>
311311
read_size_hint_pmd(
312312
std::size_t initial_size,
313313
bool rd_done,
314-
std::uint64_t rd_msg_max,
314+
std::size_t rd_msg_max,
315315
std::uint64_t rd_remain,
316316
frame_header const& rd_fh) const
317317
{
@@ -465,7 +465,7 @@ struct impl_base<false>
465465
read_size_hint_pmd(
466466
std::size_t initial_size,
467467
bool rd_done,
468-
std::uint64_t rd_msg_max,
468+
std::size_t rd_msg_max,
469469
std::uint64_t rd_remain,
470470
frame_header const& rd_fh) const
471471
{

0 commit comments

Comments
 (0)