summaryrefslogtreecommitdiffstats
path: root/src/Generating
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-07-30 04:05:40 +0200
committerarchshift <admin@archshift.com>2014-07-30 04:05:40 +0200
commitcb9408a52dc56f752327d2f28444159eb057fa00 (patch)
tree003a2d2768de5c695d629d1db6a8d13bc3d1272b /src/Generating
parentSlight cleanup after portals (diff)
parentChanged size_t to 'unsigned long' (diff)
downloadcuberite-cb9408a52dc56f752327d2f28444159eb057fa00.tar
cuberite-cb9408a52dc56f752327d2f28444159eb057fa00.tar.gz
cuberite-cb9408a52dc56f752327d2f28444159eb057fa00.tar.bz2
cuberite-cb9408a52dc56f752327d2f28444159eb057fa00.tar.lz
cuberite-cb9408a52dc56f752327d2f28444159eb057fa00.tar.xz
cuberite-cb9408a52dc56f752327d2f28444159eb057fa00.tar.zst
cuberite-cb9408a52dc56f752327d2f28444159eb057fa00.zip
Diffstat (limited to 'src/Generating')
-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 ed32768b3..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 (int idx = 0; idx < 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 (int idx = 0; idx < ARRAYCOUNT(m_IsBiomeAllowed); ++idx)
+ for (unsigned long idx = 0; idx < ARRAYCOUNT(m_IsBiomeAllowed); ++idx)
{
m_IsBiomeAllowed[idx] = false;
}