ref: 6bb75a9d76f0bb7dd9f2c7b9056a19db0baf9015
parent: b37f87df78571df7bdc79a1cf207c00dc720f97c
author: Martin Storsjö <martin@martin.st>
date: Sat May 11 05:26:24 EDT 2019
tools: Add a cast to silence an MSVC warning
--- a/tools/dav1d.c
+++ b/tools/dav1d.c
@@ -199,7 +199,7 @@
}
} 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();