1
0

CompoGenBiomal: Fixed signed vs unsigned comparison.

This commit is contained in:
Mattes D 2014-11-27 21:24:03 +01:00
parent e3e13f552f
commit 61ce09e4d0

View File

@ -39,7 +39,7 @@ public:
// Fill the rest with stone:
static BlockInfo Stone = {E_BLOCK_STONE, 0};
for (size_t i = a_Count; i < cChunkDef::Height; i++)
for (int i = static_cast<int>(a_Count); i < cChunkDef::Height; i++)
{
m_Pattern[i] = Stone;
}