diff options
Diffstat (limited to 'gtk2_ardour/utils.cc')
-rw-r--r-- | gtk2_ardour/utils.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/utils.cc b/gtk2_ardour/utils.cc index e609d0e33b..393f919d95 100644 --- a/gtk2_ardour/utils.cc +++ b/gtk2_ardour/utils.cc @@ -407,7 +407,7 @@ pane_handler (GdkEventButton* ev, Gtk::Paned* pane) /* already collapsed: restore it (note that this is cast from a pointer value to int, which is tricky on 64bit */ - pane->set_position ((gint64) pane->get_data ("rpos")); + pane->set_position ((intptr_t) pane->get_data ("rpos")); } else { @@ -419,7 +419,7 @@ pane_handler (GdkEventButton* ev, Gtk::Paned* pane) /* collapse to show the relevant child in full */ - collapse_direction = (gint64) pane->get_data ("collapse-direction"); + collapse_direction = (intptr_t) pane->get_data ("collapse-direction"); if (collapse_direction) { pane->set_position (1); |