From f5211bbd59bd8f17e0a356900eb308db76368f43 Mon Sep 17 00:00:00 2001 From: Craig Robbins Date: Thu, 18 Dec 2014 19:29:04 +1000 Subject: [PATCH] Suppress compiler warning --- src/mg_biome.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mg_biome.cpp b/src/mg_biome.cpp index afe84e6d8..a3a6d5128 100644 --- a/src/mg_biome.cpp +++ b/src/mg_biome.cpp @@ -72,7 +72,7 @@ BiomeManager::~BiomeManager() void BiomeManager::calcBiomes(s16 sx, s16 sy, float *heat_map, float *humidity_map, s16 *height_map, u8 *biomeid_map) { - for (size_t i = 0; i != sx * sy; i++) + for (s32 i = 0; i != sx * sy; i++) biomeid_map[i] = getBiome(heat_map[i], humidity_map[i], height_map[i])->id; } -- 2.25.1