Fixed compiler warning.

This commit is contained in:
leo 2013-02-26 03:06:51 +00:00
parent 8f6172ee2f
commit 1c10e656b2

View file

@ -2170,7 +2170,7 @@ void lcPiecesLibrary::CreateBuiltinPieces()
{ "92438", "Plate 8 x 16" },
};
for (int PieceIdx = 0; PieceIdx < sizeof(Pieces) / sizeof(Pieces[0]); PieceIdx++)
for (unsigned int PieceIdx = 0; PieceIdx < sizeof(Pieces) / sizeof(Pieces[0]); PieceIdx++)
{
PieceInfo* Info = new PieceInfo(-1);
mPieces.Add(Info);