mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 08:14:58 +01:00
Modify some initialization slightly to keep MSVC happy
This commit is contained in:
parent
f274bf740e
commit
47c849cf95
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue