diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-08-25 22:17:23 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-08-25 22:17:23 +0100 |
| commit | 1d68fe1e3ad1a9aa85fa7fc6071a0b8c64973953 (patch) | |
| tree | cbad95204bf34c95ef2e6c6f5963eff00b81f140 /src/wx/wx_util.cc | |
| parent | e386b94425586760374d8e1cb16be99af09cf07f (diff) | |
Purge rint() and use llrint and friends.
Diffstat (limited to 'src/wx/wx_util.cc')
| -rw-r--r-- | src/wx/wx_util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc index 5acc2d6cd..3d37c373b 100644 --- a/src/wx/wx_util.cc +++ b/src/wx/wx_util.cc @@ -341,6 +341,6 @@ time_to_timecode (DCPTime t, double fps) w -= m * 60; int const s = floor (w); w -= s; - int const f = rint (w * fps); + int const f = lrint (w * fps); return wxString::Format (wxT("%02d:%02d:%02d.%02d"), h, m, s, f); } |
