Signed vs unsigned warning.

This commit is contained in:
Jason Felds
2011-05-25 15:09:10 -04:00
parent 86e70e1a83
commit e99178c02d
+1 -1
View File
@@ -1185,7 +1185,7 @@ bool BMSLoader::LoadFromDir( const RString &sDir, Song &out )
if( ok ) if( ok )
{ {
// set song's timing data to the main file. // set song's timing data to the main file.
if( i == iMainDataIndex ) if( i == static_cast<unsigned>(iMainDataIndex) )
out.m_SongTiming = pNewNotes->m_Timing; out.m_SongTiming = pNewNotes->m_Timing;
out.AddSteps( pNewNotes ); out.AddSteps( pNewNotes );