diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-03-09 12:38:04 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-03-09 12:38:04 +0100 |
commit | b2929c9e6ebaa3edbc6f02720e078a2e356d2146 (patch) | |
tree | a6a3b6e5ddb7f2c4636c2d75bb5f5b2390cea3fd /src/Simulator | |
parent | Turned off Wunused-parameter (diff) | |
parent | Added static (diff) | |
download | cuberite-b2929c9e6ebaa3edbc6f02720e078a2e356d2146.tar cuberite-b2929c9e6ebaa3edbc6f02720e078a2e356d2146.tar.gz cuberite-b2929c9e6ebaa3edbc6f02720e078a2e356d2146.tar.bz2 cuberite-b2929c9e6ebaa3edbc6f02720e078a2e356d2146.tar.lz cuberite-b2929c9e6ebaa3edbc6f02720e078a2e356d2146.tar.xz cuberite-b2929c9e6ebaa3edbc6f02720e078a2e356d2146.tar.zst cuberite-b2929c9e6ebaa3edbc6f02720e078a2e356d2146.zip |
Diffstat (limited to 'src/Simulator')
-rw-r--r-- | src/Simulator/DelayedFluidSimulator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Simulator/DelayedFluidSimulator.cpp b/src/Simulator/DelayedFluidSimulator.cpp index 3d2170e44..bc5158d95 100644 --- a/src/Simulator/DelayedFluidSimulator.cpp +++ b/src/Simulator/DelayedFluidSimulator.cpp @@ -20,7 +20,7 @@ bool cDelayedFluidSimulatorChunkData::cSlot::Add(int a_RelX, int a_RelY, int a_RelZ) { ASSERT(a_RelZ >= 0); - ASSERT(a_RelZ < ARRAYCOUNT(m_Blocks)); + ASSERT(a_RelZ < static_cast<int>(ARRAYCOUNT(m_Blocks))); cCoordWithIntVector & Blocks = m_Blocks[a_RelZ]; int Index = cChunkDef::MakeIndexNoCheck(a_RelX, a_RelY, a_RelZ); |