From dfa5ec84347ba2dda60bf979cedcb1fc1672332a Mon Sep 17 00:00:00 2001 From: IcaroPimentel654 <145577637+IcaroPimentel654@users.noreply.github.com> Date: Sun, 5 Nov 2023 15:55:56 -0300 Subject: [PATCH] Update protocolgameparse.cpp --- src/client/protocolgameparse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/protocolgameparse.cpp b/src/client/protocolgameparse.cpp index ae80a92a5f..d1cc91d208 100644 --- a/src/client/protocolgameparse.cpp +++ b/src/client/protocolgameparse.cpp @@ -2408,7 +2408,7 @@ void ProtocolGame::parseChannelEvent(const InputMessagePtr& msg) void ProtocolGame::parseItemInfo(const InputMessagePtr& msg) const { std::vector> list; - const int size = msg->getU8(); + const uint8_t size = msg->getU8(); for (int_fast32_t i = 0; i < size; ++i) { const auto& item = std::make_shared(); item->setId(msg->getU16());