summaryrefslogtreecommitdiff
path: root/libs/ardour/source.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/source.cc')
-rw-r--r--libs/ardour/source.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/source.cc b/libs/ardour/source.cc
index 12a5e7c071..5c2ac132e1 100644
--- a/libs/ardour/source.cc
+++ b/libs/ardour/source.cc
@@ -140,7 +140,7 @@ Source::set_state (const XMLNode& node)
}
void
-Source::update_length (nframes_t pos, nframes_t cnt)
+Source::update_length (sframes_t pos, sframes_t cnt)
{
if (pos + cnt > _length) {
_length = pos + cnt;