fix warnings
This commit is contained in:
@@ -92,7 +92,7 @@ void BPMDisplay::SetBPMRange( const DisplayBpms &bpms )
|
||||
|
||||
const vector<float> &BPMS = bpms.vfBpms;
|
||||
|
||||
if( BPMS.size() > MAX_COURSE_ENTRIES_BEFORE_VARIOUS )
|
||||
if( (int) BPMS.size() > MAX_COURSE_ENTRIES_BEFORE_VARIOUS )
|
||||
{
|
||||
m_BPMS.push_back( -1 );
|
||||
m_textBPM.SetText( "Various" );
|
||||
|
||||
@@ -339,7 +339,7 @@ CString ScreenOptions::GetExplanationTitle( int iRow ) const
|
||||
pTrail->GetDisplayBpms( bpms );
|
||||
}
|
||||
|
||||
if( bpms.vfBpms.size() > MAX_COURSE_ENTRIES_BEFORE_VARIOUS )
|
||||
if( (int) bpms.vfBpms.size() > MAX_COURSE_ENTRIES_BEFORE_VARIOUS )
|
||||
{} // add nothing
|
||||
else if( bpms.IsSecret() )
|
||||
sTitle += ssprintf( " (??" "?)" ); /* split so gcc doesn't think this is a trigraph */
|
||||
|
||||
@@ -1726,7 +1726,7 @@ void ScreenSelectMusic::AfterMusicChange()
|
||||
// update stage counter display (long versions/marathons)
|
||||
m_sprStage.Load( THEME->GetPathG(m_sName,"stage "+GAMESTATE->GetStageText()) );
|
||||
|
||||
if( m_Artists.size() > MAX_COURSE_ENTRIES_BEFORE_VARIOUS )
|
||||
if( (int) m_Artists.size() > MAX_COURSE_ENTRIES_BEFORE_VARIOUS )
|
||||
{
|
||||
m_Artists.clear();
|
||||
m_AltArtists.clear();
|
||||
|
||||
Reference in New Issue
Block a user