fix warnings

This commit is contained in:
Glenn Maynard
2005-03-11 02:48:38 +00:00
parent 510f43d736
commit a4a6d72342
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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" );
+1 -1
View File
@@ -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 */
+1 -1
View File
@@ -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();