13
0

Modify some initialization slightly to keep MSVC happy

This commit is contained in:
John Emmas 2014-03-24 18:48:26 +00:00
parent f274bf740e
commit 47c849cf95

View File

@ -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 {