diff --git a/stepmania/src/GameConstantsAndTypes.cpp b/stepmania/src/GameConstantsAndTypes.cpp index ef135a24ae..260e78fb20 100644 --- a/stepmania/src/GameConstantsAndTypes.cpp +++ b/stepmania/src/GameConstantsAndTypes.cpp @@ -14,7 +14,7 @@ const CString RANKING_TO_FILL_IN_MARKER[NUM_PLAYERS] = {"#P1#","#P2#"}; -const extern CString GROUP_ALL = "---Group All---"; +extern const CString GROUP_ALL = "---Group All---"; static const CString RadarCategoryNames[] = { "Stream", diff --git a/stepmania/src/ScreenSelectProfile.cpp b/stepmania/src/ScreenSelectProfile.cpp index 746df3c146..6e8b03d3e2 100644 --- a/stepmania/src/ScreenSelectProfile.cpp +++ b/stepmania/src/ScreenSelectProfile.cpp @@ -60,7 +60,7 @@ bool ScreenSelectProfile::ProcessMenuStart( PlayerNumber pn ) { vector vProfileIDs; PROFILEMAN->GetLocalProfileIDs( vProfileIDs ); - if( vProfileIDs.size() >= MAX_NUM_LOCAL_PROFILES ) + if( (int) vProfileIDs.size() >= MAX_NUM_LOCAL_PROFILES ) { CString sError = ssprintf( "You may only create up to %d profiles. You must delete an existing profile before creating a new one.", MAX_NUM_LOCAL_PROFILES ); ScreenPrompt::Prompt( SM_None, sError ); @@ -100,7 +100,7 @@ void ScreenSelectProfile::HandleScreenMessage( const ScreenMessage SM ) vector vsProfileID; PROFILEMAN->GetLocalProfileIDs( vsProfileID ); - if( iSelection == 0 || iSelection == vsProfileID.size()+1 ) + if( iSelection == 0 || iSelection == (int) vsProfileID.size()+1 ) { GAMESTATE->m_sLastSelectedProfileID = ""; }