again fix headerSize

coverity_scan^2
Koncord 8 years ago
parent d9452f3798
commit 5eaad1b92e

@ -35,7 +35,7 @@ namespace mwmp
static size_t headerSize()
{
return (sizeof(packetID) + RakNet::RakNetGUID::size()); // packetID + RakNetGUID (uint64_t)
return (size_t)(1 + RakNet::RakNetGUID::size()); // packetID + RakNetGUID (uint64_t)
}
unsigned char GetPacketID()

Loading…
Cancel
Save