Changed: #853 Compilation on 64-bits platforms

This commit is contained in:
kervala 2010-05-11 13:38:03 +02:00
parent 479afdb938
commit b7fd96aa9c

View file

@ -670,7 +670,7 @@ NLMISC_COMMAND (testBuildingManager, "(debug) Unit test for building manager",
} }
} }
TestCharacters.resize( min(nbChars, FakeCharacters.size()) ); TestCharacters.resize( min(nbChars, (uint)FakeCharacters.size()) );
for (uint i = 0; i < TestCharacters.size(); i++) for (uint i = 0; i < TestCharacters.size(); i++)
{ {
CCharacter * c = PlayerManager.getChar( FakeCharacters[i] ); CCharacter * c = PlayerManager.getChar( FakeCharacters[i] );