fix warnings

This commit is contained in:
Glenn Maynard
2005-04-26 10:28:20 +00:00
parent 214b964268
commit 7892552052
+2 -2
View File
@@ -63,7 +63,7 @@ static void GetAllSongsToShow( vector<Song*> &vpOut, bool bShowOnlyMostRecentSco
if( bShowOnlyMostRecentScores )
{
SongUtil::SortByMostRecentlyPlayedForMachine( vpOut );
if( vpOut.size() > iNumMostRecentScoresToShow )
if( (int) vpOut.size() > iNumMostRecentScoresToShow )
vpOut.erase( vpOut.begin()+iNumMostRecentScoresToShow, vpOut.end() );
}
}
@@ -85,7 +85,7 @@ static void GetAllCoursesToShow( vector<Course*> &vpOut, bool bShowOnlyMostRecen
if( bShowOnlyMostRecentScores )
{
CourseUtil::SortByMostRecentlyPlayedForMachine( vpOut );
if( vpOut.size() > iNumMostRecentScoresToShow )
if( (int) vpOut.size() > iNumMostRecentScoresToShow )
vpOut.erase( vpOut.begin()+iNumMostRecentScoresToShow, vpOut.end() );
}
}