diff options
Diffstat (limited to 'src/LightingThread.h')
-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]]) { |