13
0

use consistent (large) size when calling to_ticks()

This commit is contained in:
Paul Davis 2015-05-20 08:07:35 -04:00
parent d27dc3557e
commit 48fb3e3b48

View File

@ -777,7 +777,7 @@ MidiListEditor::redisplay_model ()
bbt.beats = dur.get_beats ();
bbt.ticks = dur.get_ticks ();
int len_ticks = (*i)->length().to_ticks();
uint64_t len_ticks = (*i)->length().to_ticks();
std::map<int,string>::iterator x = note_length_map.find (len_ticks);
if (x != note_length_map.end()) {