diff options
author | archshift <admin@archshift.com> | 2014-07-30 04:05:40 +0200 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-07-30 04:05:40 +0200 |
commit | cb9408a52dc56f752327d2f28444159eb057fa00 (patch) | |
tree | 003a2d2768de5c695d629d1db6a8d13bc3d1272b | |
parent | Slight cleanup after portals (diff) | |
parent | Changed size_t to 'unsigned long' (diff) | |
download | cuberite-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 |
-rw-r--r-- | src/Generating/FinishGen.h | 4 |
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; } |