Various integer width type changes

This commit is contained in:
Jonathan G Rennison
2023-02-15 22:03:29 +00:00
parent fbfbaa118a
commit 8d1563a1ed
5 changed files with 6 additions and 6 deletions

View File

@@ -90,7 +90,7 @@ void NetworkUDPSocketHandler::SendPacket(Packet *p, NetworkAddress *recv, bool a
Packet frag(PACKET_UDP_EX_MULTI);
uint8 current_frag = 0;
uint16 offset = 0;
size_t offset = 0;
while (offset < packet_size) {
uint16 payload_size = (uint16)std::min<size_t>(PAYLOAD_MTU, packet_size - offset);
frag.Send_uint64(token);