From 041b31d7c61cde71cc5cae47b34256de60951236 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 15 Aug 2015 00:15:55 +0200 Subject: [PATCH] fix locate to wallclock fix for PM (>= 2^31 samples) --- gtk2_ardour/ardour_ui.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc index 96746cb30a..3aae162e9c 100644 --- a/gtk2_ardour/ardour_ui.cc +++ b/gtk2_ardour/ardour_ui.cc @@ -1971,7 +1971,7 @@ ARDOUR_UI::transport_goto_wallclock () time (&now); localtime_r (&now, &tmnow); - int frame_rate = _session->frame_rate(); + framecnt_t frame_rate = _session->frame_rate(); if (frame_rate == 0) { /* no frame rate available */