diff options
author | madmaxoft <github@xoft.cz> | 2013-12-01 14:04:17 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-12-01 14:04:17 +0100 |
commit | ffd2caea66f087ff3b6a53c0d13a160570701ea6 (patch) | |
tree | a176d36fb7345034313afe06f70e3dcd5434cba1 /src/LightingThread.h | |
parent | Fixed linux compile errors and formatting in RedstoneSimulator.cpp (diff) | |
download | cuberite-ffd2caea66f087ff3b6a53c0d13a160570701ea6.tar cuberite-ffd2caea66f087ff3b6a53c0d13a160570701ea6.tar.gz cuberite-ffd2caea66f087ff3b6a53c0d13a160570701ea6.tar.bz2 cuberite-ffd2caea66f087ff3b6a53c0d13a160570701ea6.tar.lz cuberite-ffd2caea66f087ff3b6a53c0d13a160570701ea6.tar.xz cuberite-ffd2caea66f087ff3b6a53c0d13a160570701ea6.tar.zst cuberite-ffd2caea66f087ff3b6a53c0d13a160570701ea6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/LightingThread.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LightingThread.h b/src/LightingThread.h index 498755025..d8ce59f01 100644 --- a/src/LightingThread.h +++ b/src/LightingThread.h @@ -156,9 +156,9 @@ protected: ) { ASSERT(a_SrcIdx >= 0); - ASSERT(a_SrcIdx < ARRAYCOUNT(m_SkyLight)); + ASSERT(a_SrcIdx < (int)ARRAYCOUNT(m_SkyLight)); ASSERT(a_DstIdx >= 0); - ASSERT(a_DstIdx < ARRAYCOUNT(m_BlockTypes)); + ASSERT(a_DstIdx < (int)ARRAYCOUNT(m_BlockTypes)); if (a_Light[a_SrcIdx] <= a_Light[a_DstIdx] + g_BlockSpreadLightFalloff[m_BlockTypes[a_DstIdx]]) { |