1
0

Merge pull request #1263 from Howaner/GlobalFixes

Fixed compile error with clang.
This commit is contained in:
archshift 2014-07-29 19:05:40 -07:00
commit cb9408a52d

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 (unsigned long idx = 0; idx < 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 (unsigned long idx = 0; idx < ARRAYCOUNT(m_IsBiomeAllowed); ++idx)
{
m_IsBiomeAllowed[idx] = false;
}