summaryrefslogtreecommitdiffstats
path: root/src/Simulator
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2016-11-13 20:00:01 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2016-11-13 20:00:01 +0100
commit944fdd173f40c0fcc718d6aa2af191bf993adc70 (patch)
tree28436adf7e20c58427c8d48685d944b964e11147 /src/Simulator
parentMerge pull request #3430 from cuberite/Overrides (diff)
downloadcuberite-944fdd173f40c0fcc718d6aa2af191bf993adc70.tar
cuberite-944fdd173f40c0fcc718d6aa2af191bf993adc70.tar.gz
cuberite-944fdd173f40c0fcc718d6aa2af191bf993adc70.tar.bz2
cuberite-944fdd173f40c0fcc718d6aa2af191bf993adc70.tar.lz
cuberite-944fdd173f40c0fcc718d6aa2af191bf993adc70.tar.xz
cuberite-944fdd173f40c0fcc718d6aa2af191bf993adc70.tar.zst
cuberite-944fdd173f40c0fcc718d6aa2af191bf993adc70.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 d21e8dc6d..1ad7d5f40 100644
--- a/src/Simulator/DelayedFluidSimulator.cpp
+++ b/src/Simulator/DelayedFluidSimulator.cpp
@@ -44,7 +44,7 @@ bool cDelayedFluidSimulatorChunkData::cSlot::Add(int a_RelX, int a_RelY, int a_R
// cDelayedFluidSimulatorChunkData:
cDelayedFluidSimulatorChunkData::cDelayedFluidSimulatorChunkData(int a_TickDelay) :
- m_Slots(new cSlot[a_TickDelay])
+ m_Slots(new cSlot[static_cast<size_t>(a_TickDelay)])
{
}