From 17c13fa3d5c6468b7eca37bcff2d149c1c374e3f Mon Sep 17 00:00:00 2001 From: Sergio Valor Date: Thu, 20 Oct 2022 19:38:53 +0200 Subject: [PATCH] Eliminados algunos warnings --- source/volcano.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);