From ab86c193cd62df9ee656adfff8e4b54c49f5c6e8 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Thu, 16 Oct 2003 17:38:59 +0000 Subject: [PATCH] Fix signed vs. unsigned. --- stepmania/src/Course.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/Course.cpp b/stepmania/src/Course.cpp index b65d3a0503..8860797afd 100644 --- a/stepmania/src/Course.cpp +++ b/stepmania/src/Course.cpp @@ -395,7 +395,7 @@ void Course::MemCardData::AddHighScore( HighScore hs, int &iIndexOut ) { vHighScores.insert( vHighScores.begin()+i, hs ); iIndexOut = i; - if( vHighScores.size() > NUM_RANKING_LINES ) + if( vHighScores.size() > unsigned(NUM_RANKING_LINES) ) vHighScores.erase( vHighScores.begin()+NUM_RANKING_LINES, vHighScores.end() ); } }