From c2d197a10309dc3961ffd6ff80b8b46459258a2a Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 1 Dec 2020 22:33:30 -0700 Subject: [PATCH] use correct initial value of AudioClock::_limit_pos --- gtk2_ardour/audio_clock.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/audio_clock.cc b/gtk2_ardour/audio_clock.cc index 3b4e77da63..0846bc5d7e 100644 --- a/gtk2_ardour/audio_clock.cc +++ b/gtk2_ardour/audio_clock.cc @@ -89,7 +89,7 @@ AudioClock::AudioClock (const string& clock_name, bool transient, const string& , _edit_by_click_field (false) , _negative_allowed (false) , edit_is_negative (false) - , _limit_pos (INT64_MAX - 1) + , _limit_pos (timepos_t::max (Temporal::AudioTime)) , _with_info (with_info) , editing_attr (0) , foreground_attr (0)