1
0
Fork 0

Fixed compile error with clang.

This commit is contained in:
Howaner 2014-07-30 00:45:03 +02:00
parent 4f5d73b770
commit 9a4d80fc3b
1 changed files with 2 additions and 2 deletions

View File

@ -163,7 +163,7 @@ public:
m_Amount(a_Amount)
{
// Initialize all the block types.
for (int idx = 0; idx < ARRAYCOUNT(m_IsAllowedBelow); ++idx)
for (size_t idx = 0; idx < (size_t)ARRAYCOUNT(m_IsAllowedBelow); ++idx)
{
m_IsAllowedBelow[idx] = false;
}
@ -175,7 +175,7 @@ public:
}
// Initialize all the biome types.
for (int idx = 0; idx < ARRAYCOUNT(m_IsBiomeAllowed); ++idx)
for (size_t idx = 0; idx < (size_t)ARRAYCOUNT(m_IsBiomeAllowed); ++idx)
{
m_IsBiomeAllowed[idx] = false;
}