summaryrefslogtreecommitdiff
path: root/gtk2_ardour/selection_memento.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/selection_memento.cc')
-rw-r--r--gtk2_ardour/selection_memento.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/selection_memento.cc b/gtk2_ardour/selection_memento.cc
index fb5c417292..89eda56ccb 100644
--- a/gtk2_ardour/selection_memento.cc
+++ b/gtk2_ardour/selection_memento.cc
@@ -67,7 +67,7 @@ SelectionMemento::set_state (const XMLNode& node, int /*version*/) {
editor.reset_zoom (llrintf (zoom));
}
- framepos_t pos;
+ samplepos_t pos;
if (node.get_property ("left-frame", pos)) {
if (pos < 0) {
pos = 0;