Fix some warnings

This commit is contained in:
Tillmann Karras
2015-06-23 21:11:56 +02:00
parent 21a70903ed
commit c9af7def28
5 changed files with 8 additions and 12 deletions

View File

@ -315,7 +315,7 @@ unsigned int NetPlayServer::OnConnect(ENetPeer* socket)
}
spac.clear();
spac << (MessageId)NP_MSG_SYNC_GC_SRAM;
for (int i = 0; i < sizeof(g_SRAM.p_SRAM); ++i)
for (size_t i = 0; i < sizeof(g_SRAM.p_SRAM); ++i)
{
spac << g_SRAM.p_SRAM[i];
}