diff options
Diffstat (limited to 'libs/ardour/ardour/location.h')
-rw-r--r-- | libs/ardour/ardour/location.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/ardour/location.h b/libs/ardour/ardour/location.h index 71f4c1aa6a..069230438e 100644 --- a/libs/ardour/ardour/location.h +++ b/libs/ardour/ardour/location.h @@ -63,7 +63,7 @@ class Location : public SessionHandleRef, public PBD::StatefulDestructible framepos_t start() const { return _start; } framepos_t end() const { return _end; } - framepos_t length() const { return _end - _start; } + framecnt_t length() const { return _end - _start; } int set_start (framepos_t s, bool force = false, bool allow_bbt_recompute = true); int set_end (framepos_t e, bool force = false, bool allow_bbt_recompute = true); |