diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-07-30 00:45:03 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-07-30 00:45:03 +0200 |
commit | 9a4d80fc3b9dbaa09c8e6d9e8021762a486f280f (patch) | |
tree | 082337bee7374073d9b3232557c5404c39bf40ec /src/Generating | |
parent | Slight cleanup after portals (diff) | |
download | cuberite-9a4d80fc3b9dbaa09c8e6d9e8021762a486f280f.tar cuberite-9a4d80fc3b9dbaa09c8e6d9e8021762a486f280f.tar.gz cuberite-9a4d80fc3b9dbaa09c8e6d9e8021762a486f280f.tar.bz2 cuberite-9a4d80fc3b9dbaa09c8e6d9e8021762a486f280f.tar.lz cuberite-9a4d80fc3b9dbaa09c8e6d9e8021762a486f280f.tar.xz cuberite-9a4d80fc3b9dbaa09c8e6d9e8021762a486f280f.tar.zst cuberite-9a4d80fc3b9dbaa09c8e6d9e8021762a486f280f.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 ed32768b3..cf84a0336 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 (size_t idx = 0; idx < (size_t)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 (size_t idx = 0; idx < (size_t)ARRAYCOUNT(m_IsBiomeAllowed); ++idx) { m_IsBiomeAllowed[idx] = false; } |