Fix warnings about shortening 64 bits to 32 bits.

This commit is contained in:
Steve Checkoway
2008-05-10 06:51:40 +00:00
parent da1b2d5052
commit 5ed6b26099
+1 -1
View File
@@ -677,7 +677,7 @@ static bool LoadFromMidi( const RString &sPath, Song &songOut )
BPMSegment bpmSeg;
bpmSeg.m_iStartRow = MidiCountToNoteRow( iter->count );
double fSecondsPerBeat = (iter->tickSeconds * GUITAR_MIDI_COUNTS_PER_BEAT);
bpmSeg.m_fBPS = 1 / fSecondsPerBeat;
bpmSeg.m_fBPS = float( 1. / fSecondsPerBeat );
songOut.m_Timing.AddBPMSegment( bpmSeg );
}