summaryrefslogtreecommitdiff
path: root/libs/timecode
diff options
context:
space:
mode:
authorJohn Emmas <johne53@tiscali.co.uk>2014-03-24 18:48:26 +0000
committerJohn Emmas <johne53@tiscali.co.uk>2014-03-24 18:48:26 +0000
commit47c849cf95d828a18d8f6508fe02723dbec21624 (patch)
tree59b785a00e129086b9493ee1a23940ed39d673bd /libs/timecode
parentf274bf740e51ea9e2ffd0c2b8c0aa9953bbe5000 (diff)
Modify some initialization slightly to keep MSVC happy
Diffstat (limited to 'libs/timecode')
-rw-r--r--libs/timecode/timecode/time.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/timecode/timecode/time.h b/libs/timecode/timecode/time.h
index ad7af28037..5ee763d33e 100644
--- a/libs/timecode/timecode/time.h
+++ b/libs/timecode/timecode/time.h
@@ -69,7 +69,7 @@ struct LIBTIMECODE_API Time {
frames = 0;
subframes = 0;
rate = a_rate;
- drop = (rintf(100.f * a_rate) == 2997);
+ drop = (lrintf(100.f * (float)a_rate) == (long)2997);
}
bool operator== (const Time& other) const {