fix signed-compare warnings

The m_iSelection array could probably be made unsigned... IF we were
confident we never try to assign it a negative number, of which fact I'm
not convinced.
This commit is contained in:
Devin J. Pohly
2014-02-08 20:30:33 -05:00
parent 04150e5002
commit 9916275a8a
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -2946,7 +2946,7 @@ void GameManager::GetStepsTypesForGame( const Game *pGame, vector<StepsType>& aS
// Some Styles use the same StepsType (e.g. single and versus) so check
// that we aren't doubling up.
bool found = false;
for( int j=0; j < aStepsTypeAddTo.size(); j++ )
for( unsigned j=0; j < aStepsTypeAddTo.size(); j++ )
if( (int) st == (int) aStepsTypeAddTo[j] ) { found = true; break; }
if(found) continue;