use function-style or C-style casts, not static_cast; they're identical
and easier to read
This commit is contained in:
Glenn Maynard
2003-04-20 22:08:32 +00:00
parent 862421014e
commit e2f1e6bda9
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ int NoteDataWithScoring::GetNumTapNotesWithScore( TapNoteScore tns, const float
unsigned iStartIndex = BeatToNoteRow( fStartBeat );
unsigned iEndIndex = BeatToNoteRow( fEndBeat );
for( unsigned i=iStartIndex; i<min(static_cast<float>(iEndIndex), static_cast<float>(m_TapNoteScores[0].size())); i++ )
for( unsigned i=iStartIndex; i<min(float(iEndIndex), float(m_TapNoteScores[0].size())); i++ )
{
for( int t=0; t<GetNumTracks(); t++ )
{