projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d39e59c
)
Attempted OS X build fix.
author
Carl Hetherington
<cth@carlh.net>
Thu, 5 Jun 2014 23:49:09 +0000
(
00:49
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 5 Jun 2014 23:49:09 +0000
(
00:49
+0100)
src/lib/content.cc
patch
|
blob
|
history
diff --git
a/src/lib/content.cc
b/src/lib/content.cc
index 4cdb23e83e0662ec46c5c898df80068cc6d290a3..7966219ff60a4bf186a3af6ce58a6b52aa0a97e5 100644
(file)
--- 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).