From 78925520528a8fdbb366fc6e24ea72b2ea8742c8 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 26 Apr 2005 10:28:20 +0000 Subject: [PATCH] fix warnings --- stepmania/src/ScreenRanking.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/ScreenRanking.cpp b/stepmania/src/ScreenRanking.cpp index d68c36ff24..0b29f85381 100644 --- a/stepmania/src/ScreenRanking.cpp +++ b/stepmania/src/ScreenRanking.cpp @@ -63,7 +63,7 @@ static void GetAllSongsToShow( vector &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 &vpOut, bool bShowOnlyMostRecen if( bShowOnlyMostRecentScores ) { CourseUtil::SortByMostRecentlyPlayedForMachine( vpOut ); - if( vpOut.size() > iNumMostRecentScoresToShow ) + if( (int) vpOut.size() > iNumMostRecentScoresToShow ) vpOut.erase( vpOut.begin()+iNumMostRecentScoresToShow, vpOut.end() ); } }