diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 272bd765e6..99efc1cb72 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -2078,7 +2078,7 @@ Session::audible_frame () const } } - return std::max (0l, ret); + return std::max ((framepos_t)0, ret); } void