From 5a89e2e5e77e839b91f3a7bf0cb95ee51ddecadd Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Tue, 28 Mar 2006 04:02:36 +0000 Subject: [PATCH] fix GCC compile --- 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 92fd2b9731..b198470f01 100644 --- a/stepmania/src/ScreenRanking.cpp +++ b/stepmania/src/ScreenRanking.cpp @@ -233,7 +233,7 @@ void ScoreScroller::SetStepsType( StepsType st, RageColor color ) bool ScoreScroller::Scroll( int iDir ) { - if( m_vScoreRowItemData.size() <= m_metricSongScoreRowsToDraw ) + if( (int)m_vScoreRowItemData.size() <= m_metricSongScoreRowsToDraw ) return false; float fDest = GetDestinationItem(); @@ -249,7 +249,7 @@ bool ScoreScroller::Scroll( int iDir ) } else { - return false(); + return false; } }