Attempted OS X build fix.
authorCarl Hetherington <cth@carlh.net>
Thu, 5 Jun 2014 23:49:09 +0000 (00:49 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 5 Jun 2014 23:49:09 +0000 (00:49 +0100)
src/lib/content.cc

index 4cdb23e83e0662ec46c5c898df80068cc6d290a3..7966219ff60a4bf186a3af6ce58a6b52aa0a97e5 100644 (file)
@@ -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).