summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dcp_time.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dcp_time.cc b/src/dcp_time.cc
index 50946f4c..f0b7e231 100644
--- a/src/dcp_time.cc
+++ b/src/dcp_time.cc
@@ -356,5 +356,5 @@ Time::as_seconds () const
Time
Time::rebase (int tcr_) const
{
- return Time (h, m, s, floor (float (e) * tcr_ / tcr), tcr_);
+ return Time (h, m, s, lrintf (float (e) * tcr_ / tcr), tcr_);
}