Use the same type on both sides of comparison

This commit is contained in:
pstef 2024-10-20 00:32:51 +02:00
parent 0edaf0e334
commit b8655eb9c8
1 changed files with 1 additions and 1 deletions

View File

@ -1148,7 +1148,7 @@ bool retro_load_game(const struct retro_game_info *game)
if (randomize_memory)
{
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;
}
}