- fix GCC warning.

SVN r2858 (trunk)
This commit is contained in:
Christoph Oelckers 2010-09-27 22:42:35 +00:00
parent 77709f1847
commit 2d5755a80e

View file

@ -423,7 +423,7 @@ void HMISong::CheckCaps(int tech)
{ {
Tracks[i].Enabled = false; Tracks[i].Enabled = false;
// Track designations are stored in a 0-terminated array. // Track designations are stored in a 0-terminated array.
for (int j = 0; j < countof(Tracks[i].Designation) && Tracks[i].Designation[j] != 0; ++j) for (unsigned int j = 0; j < countof(Tracks[i].Designation) && Tracks[i].Designation[j] != 0; ++j)
{ {
if (Tracks[i].Designation[j] == tech) if (Tracks[i].Designation[j] == tech)
{ {