From f44d19fc84aa2f4a0ec4b7dbf7dc7fddead1e123 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 23 Oct 2011 19:16:42 +0000 Subject: [PATCH] Fix read of MIDI undo information to use the correct time type. Fixes #4387. git-svn-id: svn://localhost/ardour2/branches/3.0@10292 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/midi_model.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/ardour/midi_model.cc b/libs/ardour/midi_model.cc index d6f21f1f4c..e6ff05c7b7 100644 --- a/libs/ardour/midi_model.cc +++ b/libs/ardour/midi_model.cc @@ -508,8 +508,8 @@ MidiModel::NoteDiffCommand::unmarshal_note (XMLNode *xml_note) unsigned int note; XMLProperty* prop; unsigned int channel; - unsigned int time; - unsigned int length; + MidiModel::TimeType time; + MidiModel::TimeType length; unsigned int velocity; gint id;