mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-24 11:11:38 +00:00
Fix some warnings
This commit is contained in:
parent
21a70903ed
commit
c9af7def28
5 changed files with 8 additions and 12 deletions
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue