diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-03-07 20:15:04 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-03-07 20:15:04 +0100 |
commit | 21e85b07456f12c029ab32c396285ad13063964f (patch) | |
tree | e0a39a85a44dadcb4276e0e8e1c4d0d2abdb9811 /src/Generating/Trees.cpp | |
parent | Warnings (diff) | |
download | cuberite-21e85b07456f12c029ab32c396285ad13063964f.tar cuberite-21e85b07456f12c029ab32c396285ad13063964f.tar.gz cuberite-21e85b07456f12c029ab32c396285ad13063964f.tar.bz2 cuberite-21e85b07456f12c029ab32c396285ad13063964f.tar.lz cuberite-21e85b07456f12c029ab32c396285ad13063964f.tar.xz cuberite-21e85b07456f12c029ab32c396285ad13063964f.tar.zst cuberite-21e85b07456f12c029ab32c396285ad13063964f.zip |
Diffstat (limited to 'src/Generating/Trees.cpp')
-rw-r--r-- | src/Generating/Trees.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Generating/Trees.cpp b/src/Generating/Trees.cpp index a660285d1..4909587b1 100644 --- a/src/Generating/Trees.cpp +++ b/src/Generating/Trees.cpp @@ -595,7 +595,7 @@ void GetPineTreeImage(int a_BlockX, int a_BlockY, int a_BlockZ, cNoise & a_Noise { break; } - ASSERT(LayerSize < ARRAYCOUNT(BigOs)); + ASSERT((size_t)LayerSize < ARRAYCOUNT(BigOs)); PushCoordBlocks(a_BlockX, h, a_BlockZ, a_OtherBlocks, BigOs[LayerSize].Coords, BigOs[LayerSize].Count, E_BLOCK_LEAVES, E_META_LEAVES_CONIFER); h--; } |