summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-11-27 21:24:03 +0100
committerMattes D <github@xoft.cz>2014-11-27 21:24:03 +0100
commit61ce09e4d0c5c86e4191010707d89ef02f5df29e (patch)
tree1df2d7fc37fb471105efc58dd88ed1139b2d2de6 /src
parentFixed BlockStringToType return value. (diff)
downloadcuberite-61ce09e4d0c5c86e4191010707d89ef02f5df29e.tar
cuberite-61ce09e4d0c5c86e4191010707d89ef02f5df29e.tar.gz
cuberite-61ce09e4d0c5c86e4191010707d89ef02f5df29e.tar.bz2
cuberite-61ce09e4d0c5c86e4191010707d89ef02f5df29e.tar.lz
cuberite-61ce09e4d0c5c86e4191010707d89ef02f5df29e.tar.xz
cuberite-61ce09e4d0c5c86e4191010707d89ef02f5df29e.tar.zst
cuberite-61ce09e4d0c5c86e4191010707d89ef02f5df29e.zip
Diffstat (limited to 'src')
-rw-r--r--src/Generating/CompoGenBiomal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Generating/CompoGenBiomal.cpp b/src/Generating/CompoGenBiomal.cpp
index 995851c95..030c2baa5 100644
--- a/src/Generating/CompoGenBiomal.cpp
+++ b/src/Generating/CompoGenBiomal.cpp
@@ -39,7 +39,7 @@ public:
// Fill the rest with stone:
static BlockInfo Stone = {E_BLOCK_STONE, 0};
- for (size_t i = a_Count; i < cChunkDef::Height; i++)
+ for (int i = static_cast<int>(a_Count); i < cChunkDef::Height; i++)
{
m_Pattern[i] = Stone;
}