diff options
author | Martin Storsjö <martin@martin.st> | 2019-05-11 09:26:24 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2019-05-11 09:26:24 +0300 |
commit | 6bb75a9d76f0bb7dd9f2c7b9056a19db0baf9015 (patch) | |
tree | b629e65d0b6aec02fa042b30ef06cdcf57cd3885 | |
parent | b37f87df78571df7bdc79a1cf207c00dc720f97c (diff) |
tools: Add a cast to silence an MSVC warning
-rw-r--r-- | tools/dav1d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dav1d.c b/tools/dav1d.c index c744b54..598755c 100644 --- a/tools/dav1d.c +++ b/tools/dav1d.c @@ -199,7 +199,7 @@ int main(const int argc, char *const *const argv) { } } else { i_fps = cli_settings.realtime_fps; - nspf = 1000000000.0 / cli_settings.realtime_fps; + nspf = (uint64_t)(1000000000.0 / cli_settings.realtime_fps); } tfirst = get_time_nanos(); |