fix locate to wallclock fix for PM (>= 2^31 samples)
authorRobin Gareus <robin@gareus.org>
Fri, 14 Aug 2015 22:15:55 +0000 (00:15 +0200)
committerRobin Gareus <robin@gareus.org>
Fri, 14 Aug 2015 22:15:55 +0000 (00:15 +0200)
gtk2_ardour/ardour_ui.cc

index 96746cb30a953cc25479a4d50027414f2ae0822f..3aae162e9cd530105849b6c73bc9439ef5e4f214 100644 (file)
@@ -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 */