Merge branch 'master' into Playerbot

This commit is contained in:
Yunfan Li
2024-07-11 12:32:13 +08:00
74 changed files with 1708 additions and 1401 deletions

View File

@@ -261,7 +261,7 @@ private:
const uint8 addressFamily = readPointer[13];
const uint16 len = (readPointer[14] << 8) | readPointer[15];
if (len+16 > packet.GetActiveSize())
if (static_cast<size_t>(len+16) > packet.GetActiveSize())
{
AsyncReadProxyHeader();
return;