1
0

Changed size_t to 'unsigned long'

This commit is contained in:
Howaner 2014-07-30 01:22:51 +02:00
parent 9a4d80fc3b
commit 438e4088d6

View File

@ -163,7 +163,7 @@ public:
m_Amount(a_Amount)
{
// Initialize all the block types.
for (size_t idx = 0; idx < (size_t)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 (size_t idx = 0; idx < (size_t)ARRAYCOUNT(m_IsBiomeAllowed); ++idx)
for (unsigned long idx = 0; idx < ARRAYCOUNT(m_IsBiomeAllowed); ++idx)
{
m_IsBiomeAllowed[idx] = false;
}