summaryrefslogtreecommitdiff
path: root/libs/ardour/midi_model.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-10-23 19:16:42 +0000
committerCarl Hetherington <carl@carlh.net>2011-10-23 19:16:42 +0000
commitf44d19fc84aa2f4a0ec4b7dbf7dc7fddead1e123 (patch)
tree137c8df0b333b69ca12373a427b9c351fc1010a0 /libs/ardour/midi_model.cc
parentb2637f0a002ff3a2a82dad0ab9345d12c010444b (diff)
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
Diffstat (limited to 'libs/ardour/midi_model.cc')
-rw-r--r--libs/ardour/midi_model.cc4
1 files 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;