summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/content.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/content.cc b/src/lib/content.cc
index 4cdb23e83..7966219ff 100644
--- a/src/lib/content.cc
+++ b/src/lib/content.cc
@@ -212,7 +212,7 @@ Content::technical_summary () const
Time
Content::length_after_trim () const
{
- return max (0L, full_length() - trim_start() - trim_end());
+ return max (int64_t (0), full_length() - trim_start() - trim_end());
}
/** @param t A time relative to the start of this content (not the position).