Fixed compile error with clang.
This commit is contained in:
parent
4f5d73b770
commit
9a4d80fc3b
|
@ -163,7 +163,7 @@ public:
|
||||||
m_Amount(a_Amount)
|
m_Amount(a_Amount)
|
||||||
{
|
{
|
||||||
// Initialize all the block types.
|
// 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;
|
m_IsAllowedBelow[idx] = false;
|
||||||
}
|
}
|
||||||
|
@ -175,7 +175,7 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
// Initialize all the biome types.
|
// 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;
|
m_IsBiomeAllowed[idx] = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user