From f88e38a78890195237ea39d3cb7a29c6eeb50de2 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 4 Oct 2005 07:21:49 +0000 Subject: [PATCH] "warning C4018: '>=' : signed/unsigned mismatch" --- stepmania/src/ScreenSelectMaster.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/ScreenSelectMaster.cpp b/stepmania/src/ScreenSelectMaster.cpp index 9dd3d686c8..f1c609b830 100644 --- a/stepmania/src/ScreenSelectMaster.cpp +++ b/stepmania/src/ScreenSelectMaster.cpp @@ -403,7 +403,7 @@ try_again: if( iter != m_mapCurrentChoiceToNextChoice[dir].end() ) iSwitchToIndex = iter->second; - if( iSwitchToIndex < 0 || iSwitchToIndex >= m_aGameCommands.size() ) // out of choice range + if( iSwitchToIndex < 0 || iSwitchToIndex >= (int) m_aGameCommands.size() ) // out of choice range return false; // can't go that way if( seen.find(iSwitchToIndex) != seen.end() ) return false; // went full circle and none found