summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorAlexander Harkness <bearbin@gmail.com>2013-11-16 19:58:38 +0100
committerAlexander Harkness <bearbin@gmail.com>2013-11-16 19:58:38 +0100
commitdbf2982e52b71e106923d4f36c6006fe68ca29e5 (patch)
treec58dc5444751f01d2cf1aedce8e9e00328a5168c /source
parentanother (diff)
downloadcuberite-dbf2982e52b71e106923d4f36c6006fe68ca29e5.tar
cuberite-dbf2982e52b71e106923d4f36c6006fe68ca29e5.tar.gz
cuberite-dbf2982e52b71e106923d4f36c6006fe68ca29e5.tar.bz2
cuberite-dbf2982e52b71e106923d4f36c6006fe68ca29e5.tar.lz
cuberite-dbf2982e52b71e106923d4f36c6006fe68ca29e5.tar.xz
cuberite-dbf2982e52b71e106923d4f36c6006fe68ca29e5.tar.zst
cuberite-dbf2982e52b71e106923d4f36c6006fe68ca29e5.zip
Diffstat (limited to 'source')
-rw-r--r--source/Generating/ChunkDesc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Generating/ChunkDesc.cpp b/source/Generating/ChunkDesc.cpp
index 4e2a85abe..df7574c58 100644
--- a/source/Generating/ChunkDesc.cpp
+++ b/source/Generating/ChunkDesc.cpp
@@ -538,7 +538,7 @@ void cChunkDesc::AddBlockEntity(cBlockEntity * a_BlockEntity)
void cChunkDesc::CompressBlockMetas(cChunkDef::BlockNibbles & a_DestMetas)
{
const NIBBLETYPE * AreaMetas = m_BlockArea.GetBlockMetas();
- for (int i = 0; i < ARRAYCOUNT(a_DestMetas); i++)
+ for (unsigned int i = 0; i < ARRAYCOUNT(a_DestMetas); i++)
{
a_DestMetas[i] = AreaMetas[2 * i] | (AreaMetas[2 * i + 1] << 4);
}