From 3766eb5c48009c4fd751bc12a0ce74e99db460c6 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 12 May 2003 01:05:21 +0000 Subject: [PATCH] fix signed/unsigned warnings capitalize constants, not variables --- stepmania/src/ScreenSelectDifficultyEX.cpp | 8 ++++---- stepmania/src/ScreenSelectDifficultyEX.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/stepmania/src/ScreenSelectDifficultyEX.cpp b/stepmania/src/ScreenSelectDifficultyEX.cpp index 2d1a40669e..b4b1aa19fc 100644 --- a/stepmania/src/ScreenSelectDifficultyEX.cpp +++ b/stepmania/src/ScreenSelectDifficultyEX.cpp @@ -62,17 +62,17 @@ ScreenSelectDifficultyEX::ScreenSelectDifficultyEX() : ScreenSelect( "ScreenSele m_bChosen[p] = false; } - NUM_MODES = 0; + m_NumModes = 0; for( unsigned c=0; cGetPathToG("ScreenSelectDifficultyEX icon bar.png") ); this->AddChild( &m_sprIconBar ); - for( unsigned k=0; k < NUM_MODES || k <= 7 ; k++ ) + for( unsigned k=0; k < m_NumModes || k <= 7 ; k++ ) { CString MOO = m_aModeChoices[k].name; if( IsValidModeName(MOO) ) @@ -374,7 +374,7 @@ void ScreenSelectDifficultyEX::MenuStart( PlayerNumber pn ) if( !IsACourse( m_iChoice[pn] ) || !AnotherPlayerSelected) { // Disable the courses - for( unsigned e=0; e < NUM_MODES || e <= 7; e++ ) + for( unsigned e=0; e < m_NumModes || e <= 7; e++ ) { if( IsACourse(e) ) { diff --git a/stepmania/src/ScreenSelectDifficultyEX.h b/stepmania/src/ScreenSelectDifficultyEX.h index 27ff29c372..362158de1f 100644 --- a/stepmania/src/ScreenSelectDifficultyEX.h +++ b/stepmania/src/ScreenSelectDifficultyEX.h @@ -54,7 +54,7 @@ protected: /* Icon Bar stuff */ - int NUM_MODES; + unsigned m_NumModes; DifficultyIcon m_sprDifficultyIcon[8]; Sprite m_sprIconBar; BitmapText m_textDifficultyText[8];