summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_tempodisplay.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/editor_tempodisplay.cc')
-rw-r--r--gtk2_ardour/editor_tempodisplay.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/editor_tempodisplay.cc b/gtk2_ardour/editor_tempodisplay.cc
index 034ea26f37..7896b217dc 100644
--- a/gtk2_ardour/editor_tempodisplay.cc
+++ b/gtk2_ardour/editor_tempodisplay.cc
@@ -260,7 +260,7 @@ Editor::draw_measures ()
}
}
- xpos = frame_to_unit ((*i).frame);
+ xpos = frame_to_unit ((nframes64_t) (*i).frame);
line = get_time_line ();
line->property_x1() = xpos;
line->property_x2() = xpos;
@@ -283,7 +283,7 @@ Editor::draw_measures ()
}
void
-Editor::mouse_add_new_tempo_event (nframes_t frame)
+Editor::mouse_add_new_tempo_event (nframes64_t frame)
{
if (session == 0) {
return;
@@ -325,7 +325,7 @@ Editor::mouse_add_new_tempo_event (nframes_t frame)
}
void
-Editor::mouse_add_new_meter_event (nframes_t frame)
+Editor::mouse_add_new_meter_event (nframes64_t frame)
{
if (session == 0) {
return;