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

@ -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];
}