From 0fbcb3d43f0f9a210353ffc558387bd8c6efe048 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Sun, 13 Feb 2011 12:28:46 -0600 Subject: [PATCH] shut warning up --- src/TimingData.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TimingData.h b/src/TimingData.h index d169226637..9c85d67087 100644 --- a/src/TimingData.h +++ b/src/TimingData.h @@ -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.