Increase NetPacket size from UInt16 to UInt32

This commit is contained in:
Jérôme Leclercq
2018-09-25 15:51:45 +02:00
parent 974fa07bcb
commit 706a06b506
4 changed files with 9 additions and 9 deletions

View File

@@ -182,7 +182,7 @@ namespace Nz
return false; //< No datagram received
Nz::UInt16 netCode;
Nz::UInt16 packetSize;
Nz::UInt32 packetSize;
if (!NetPacket::DecodeHeader(packet->GetConstData(), &packetSize, &netCode))
{
m_lastError = SocketError_Packet;