shut warning up

This commit is contained in:
AJ Kelly
2011-02-13 12:28:46 -06:00
parent 822f5388f1
commit 0fbcb3d43f
+1 -1
View File
@@ -529,7 +529,7 @@ public:
* @param fBeat the beat that has a BPMSegment.
* @return the BPMSegment in question.
*/
BPMSegment& GetBPMSegmentAtBeat( float fBeat ) { return GetBPMSegmentAtRow( BeatToNoteRow(fBeat)); }
BPMSegment& GetBPMSegmentAtBeat( float fBeat ) { return GetBPMSegmentAtRow( (int)BeatToNoteRow(fBeat)); }
/**
* @brief Retrieve the index of the BPMSegments at the specified row.
* @param iNoteRow the row that has a BPMSegment.