fix warning

This commit is contained in:
Glenn Maynard
2003-10-21 20:31:47 +00:00
parent 4dddfeb097
commit c547fae795
+1 -1
View File
@@ -109,7 +109,7 @@ void SongManager::CategoryData::AddHighScore( HighScore hs, int &iIndexOut )
{
vHighScores.insert( vHighScores.begin()+i, hs );
iIndexOut = i;
if( vHighScores.size() > NUM_RANKING_LINES )
if( int(vHighScores.size()) > NUM_RANKING_LINES )
vHighScores.erase( vHighScores.begin()+NUM_RANKING_LINES, vHighScores.end() );
}
}