mirror of
https://github.com/overte-org/overte.git
synced 2025-08-13 07:28:09 +02:00
fix signed/unsigned comparison
This commit is contained in:
parent
1d2150e12d
commit
0ddc8eb448
1 changed files with 1 additions and 1 deletions
|
@ -275,7 +275,7 @@ void OctreeEditPacketSender::queueOctreeEditMessage(PacketType type, unsigned ch
|
|||
|
||||
// If we're switching type, then we send the last one and start over
|
||||
if ((type != packetBuffer._currentType && packetBuffer._currentSize > 0) ||
|
||||
(packetBuffer._currentSize + length >= _maxPacketSize)) {
|
||||
(packetBuffer._currentSize + length >= (size_t)_maxPacketSize)) {
|
||||
releaseQueuedPacket(packetBuffer);
|
||||
initializePacket(packetBuffer, type);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue