Fix "comparison between signed and unsigned integer expressions"

coverity_scan^2
Koncord 8 years ago
parent ab238e07c4
commit 561a88d441

@ -26,7 +26,7 @@ void PacketInventory::Packet(RakNet::BitStream *bs, BasePlayer *player, bool sen
RW(player->inventory.count, send);
for (int i = 0; i < player->inventory.count; i++)
for (unsigned int i = 0; i < player->inventory.count; i++)
{
Item item;

Loading…
Cancel
Save