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
@@ -468,7 +468,7 @@ unsigned int NetPlayClient::OnData(sf::Packet& packet)
case NP_MSG_SYNC_GC_SRAM:
{
u8 sram[sizeof(g_SRAM.p_SRAM)];
for (int i = 0; i < sizeof(g_SRAM.p_SRAM); ++i)
for (size_t i = 0; i < sizeof(g_SRAM.p_SRAM); ++i)
{
packet >> sram[i];
}