Fix some warnings

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

No files matched your search

+1 -1
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];
}