mirror of https://github.com/snes9xgit/snes9x.git
Use the same type on both sides of comparison
This commit is contained in:
parent
0edaf0e334
commit
b8655eb9c8
|
@ -1148,7 +1148,7 @@ bool retro_load_game(const struct retro_game_info *game)
|
||||||
if (randomize_memory)
|
if (randomize_memory)
|
||||||
{
|
{
|
||||||
srand(time(NULL));
|
srand(time(NULL));
|
||||||
for(int lcv = 0; lcv < sizeof(Memory.RAM); lcv++)
|
for(size_t lcv = 0; lcv < sizeof(Memory.RAM); lcv++)
|
||||||
Memory.RAM[lcv] = rand() % 256;
|
Memory.RAM[lcv] = rand() % 256;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue