Skip to content
Permalink
Browse files

Server/Packets: Fix Arithmetic issue in ReadString.

Signed-off-by: AriDEV <aridev666@gmail.com>
  • Loading branch information
AriDEV committed Mar 25, 2020
1 parent 0068dc1 commit 8489d3f93be513fb2d729a6918fbf26d2e87168e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/server/shared/Packets/ByteBuffer.h
@@ -626,7 +626,7 @@ class ByteBuffer
}
}

std::string ReadString(uint32 length)
std::string ReadString(size_t length)
{
if (!length)
return std::string();

0 comments on commit 8489d3f

Please sign in to comment.
You can’t perform that action at this time.