diff options
author | madmaxoft <github@xoft.cz> | 2013-12-20 16:01:34 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-12-20 16:01:34 +0100 |
commit | 8610d45ef18f075e7fa207732233ddbd69bb604b (patch) | |
tree | 3f7401c1dfb8926d1917f0c92762c3507ca4a51b /src/WorldStorage/NBTChunkSerializer.cpp | |
parent | Fixed melon and pumpkin growing. (diff) | |
download | cuberite-8610d45ef18f075e7fa207732233ddbd69bb604b.tar cuberite-8610d45ef18f075e7fa207732233ddbd69bb604b.tar.gz cuberite-8610d45ef18f075e7fa207732233ddbd69bb604b.tar.bz2 cuberite-8610d45ef18f075e7fa207732233ddbd69bb604b.tar.lz cuberite-8610d45ef18f075e7fa207732233ddbd69bb604b.tar.xz cuberite-8610d45ef18f075e7fa207732233ddbd69bb604b.tar.zst cuberite-8610d45ef18f075e7fa207732233ddbd69bb604b.zip |
Diffstat (limited to 'src/WorldStorage/NBTChunkSerializer.cpp')
-rw-r--r-- | src/WorldStorage/NBTChunkSerializer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WorldStorage/NBTChunkSerializer.cpp b/src/WorldStorage/NBTChunkSerializer.cpp index c9013b1b3..5c87c2679 100644 --- a/src/WorldStorage/NBTChunkSerializer.cpp +++ b/src/WorldStorage/NBTChunkSerializer.cpp @@ -432,7 +432,7 @@ bool cNBTChunkSerializer::LightIsValid(bool a_IsLightValid) void cNBTChunkSerializer::BiomeData(const cChunkDef::BiomeMap * a_BiomeMap) { memcpy(m_Biomes, a_BiomeMap, sizeof(m_Biomes)); - for (int i = 0; i < ARRAYCOUNT(m_Biomes); i++) + for (size_t i = 0; i < ARRAYCOUNT(m_Biomes); i++) { if ((*a_BiomeMap)[i] < 255) { |