Eliminados algunos warnings

This commit is contained in:
2022-10-20 19:38:53 +02:00
parent de40ae8715
commit 17c13fa3d5

View File

@@ -476,10 +476,10 @@ void LoadMap()
map.tile = new Uint8[size];
map.actor = new Uint8[size];
for (Uint32 i = 0; i < size; i++)
for (Uint32 i = 0; i < (Uint32)size; ++i)
SDL_RWread(file, &map.tile[i], sizeof(Uint8), 1);
for (Uint32 i = 0; i < size; i++)
for (Uint32 i = 0; i < (Uint32)size; ++i)
SDL_RWread(file, &map.actor[i], sizeof(Uint8), 1);
SDL_RWclose(file);