summaryrefslogtreecommitdiffstats
path: root/src/Simulator
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-09 12:38:04 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-09 12:38:04 +0100
commitb2929c9e6ebaa3edbc6f02720e078a2e356d2146 (patch)
treea6a3b6e5ddb7f2c4636c2d75bb5f5b2390cea3fd /src/Simulator
parentTurned off Wunused-parameter (diff)
parentAdded static (diff)
downloadcuberite-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 '')
-rw-r--r--src/Simulator/DelayedFluidSimulator.cpp2
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);