summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/location.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2012-04-14 20:47:19 +0000
committerCarl Hetherington <carl@carlh.net>2012-04-14 20:47:19 +0000
commitc8228ba9853b4f0ee452343b1f1e361c584236cf (patch)
treeadc4b822a82821450677de781079133f16cad17e /libs/ardour/ardour/location.h
parent24377e9fb2a2777179e9078219b75beb07aa3b40 (diff)
Fix a few return types.
git-svn-id: svn://localhost/ardour2/branches/3.0@11974 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/location.h')
-rw-r--r--libs/ardour/ardour/location.h2
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);