diff options
author | Craig Robbins <kde.psych@gmail.com> | 2014-12-18 19:29:04 +1000 |
---|---|---|
committer | Craig Robbins <kde.psych@gmail.com> | 2014-12-18 19:29:04 +1000 |
commit | f5211bbd59bd8f17e0a356900eb308db76368f43 (patch) | |
tree | 6644361c30e691d8fc59449127d8276fe6bc9975 | |
parent | 67063ed59f91d2feae5011ca0c3767dc182bf38d (diff) | |
download | minetest-f5211bbd59bd8f17e0a356900eb308db76368f43.tar.gz minetest-f5211bbd59bd8f17e0a356900eb308db76368f43.tar.bz2 minetest-f5211bbd59bd8f17e0a356900eb308db76368f43.zip |
Suppress compiler warning
-rw-r--r-- | src/mg_biome.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |