diff --git a/source/volcano.cpp b/source/volcano.cpp index cefffd7..89e3edb 100644 --- a/source/volcano.cpp +++ b/source/volcano.cpp @@ -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);