projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f274bf7
)
Modify some initialization slightly to keep MSVC happy
author
John Emmas
<johne53@tiscali.co.uk>
Mon, 24 Mar 2014 18:48:26 +0000
(18:48 +0000)
committer
John Emmas
<johne53@tiscali.co.uk>
Mon, 24 Mar 2014 18:48:26 +0000
(18:48 +0000)
libs/timecode/timecode/time.h
patch
|
blob
|
history
diff --git
a/libs/timecode/timecode/time.h
b/libs/timecode/timecode/time.h
index ad7af28037de4f4bdcc232d11b246b00adb0368a..5ee763d33e9d3090bae279bd1cf387797647733a 100644
(file)
--- 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 {