diff options
author | madmaxoft <github@xoft.cz> | 2014-07-30 07:08:29 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-07-30 07:08:29 +0200 |
commit | 7022ae79886a9f90f30ff54387702d406b723837 (patch) | |
tree | 8f28754c5349063889950277d81dc5c2d2b73ea2 /src/Generating | |
parent | Entity.h: Moved constants out of some unnamed enum (diff) | |
download | cuberite-7022ae79886a9f90f30ff54387702d406b723837.tar cuberite-7022ae79886a9f90f30ff54387702d406b723837.tar.gz cuberite-7022ae79886a9f90f30ff54387702d406b723837.tar.bz2 cuberite-7022ae79886a9f90f30ff54387702d406b723837.tar.lz cuberite-7022ae79886a9f90f30ff54387702d406b723837.tar.xz cuberite-7022ae79886a9f90f30ff54387702d406b723837.tar.zst cuberite-7022ae79886a9f90f30ff54387702d406b723837.zip |
Diffstat (limited to 'src/Generating')
-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 7171036e2..50a0fd2e7 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 (unsigned long idx = 0; idx < ARRAYCOUNT(m_IsAllowedBelow); ++idx) + for (size_t idx = 0; idx < ARRAYCOUNT(m_IsAllowedBelow); ++idx) { m_IsAllowedBelow[idx] = false; } @@ -175,7 +175,7 @@ public: } // Initialize all the biome types. - for (unsigned long idx = 0; idx < ARRAYCOUNT(m_IsBiomeAllowed); ++idx) + for (size_t idx = 0; idx < ARRAYCOUNT(m_IsBiomeAllowed); ++idx) { m_IsBiomeAllowed[idx] = false; } |