Eliminados algunos warnings
This commit is contained in:
@@ -476,10 +476,10 @@ void LoadMap()
|
|||||||
map.tile = new Uint8[size];
|
map.tile = new Uint8[size];
|
||||||
map.actor = 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);
|
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_RWread(file, &map.actor[i], sizeof(Uint8), 1);
|
||||||
|
|
||||||
SDL_RWclose(file);
|
SDL_RWclose(file);
|
||||||
|
|||||||
Reference in New Issue
Block a user