summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-07-30 01:22:51 +0200
committerHowaner <franzi.moos@googlemail.com>2014-07-30 01:22:51 +0200
commit438e4088d6a38f9904a36f2e1a358965d9fb4a26 (patch)
tree003a2d2768de5c695d629d1db6a8d13bc3d1272b /src
parentFixed compile error with clang. (diff)
downloadcuberite-438e4088d6a38f9904a36f2e1a358965d9fb4a26.tar
cuberite-438e4088d6a38f9904a36f2e1a358965d9fb4a26.tar.gz
cuberite-438e4088d6a38f9904a36f2e1a358965d9fb4a26.tar.bz2
cuberite-438e4088d6a38f9904a36f2e1a358965d9fb4a26.tar.lz
cuberite-438e4088d6a38f9904a36f2e1a358965d9fb4a26.tar.xz
cuberite-438e4088d6a38f9904a36f2e1a358965d9fb4a26.tar.zst
cuberite-438e4088d6a38f9904a36f2e1a358965d9fb4a26.zip
Diffstat (limited to '')
-rw-r--r--src/Generating/FinishGen.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Generating/FinishGen.h b/src/Generating/FinishGen.h
index cf84a0336..7171036e2 100644
--- a/src/Generating/FinishGen.h
+++ b/src/Generating/FinishGen.h
@@ -163,7 +163,7 @@ public:
m_Amount(a_Amount)
{
// Initialize all the block types.
- for (size_t idx = 0; idx < (size_t)ARRAYCOUNT(m_IsAllowedBelow); ++idx)
+ for (unsigned long idx = 0; idx < ARRAYCOUNT(m_IsAllowedBelow); ++idx)
{
m_IsAllowedBelow[idx] = false;
}
@@ -175,7 +175,7 @@ public:
}
// Initialize all the biome types.
- for (size_t idx = 0; idx < (size_t)ARRAYCOUNT(m_IsBiomeAllowed); ++idx)
+ for (unsigned long idx = 0; idx < ARRAYCOUNT(m_IsBiomeAllowed); ++idx)
{
m_IsBiomeAllowed[idx] = false;
}