Commit 6bb75a9d authored by Martin Storsjö's avatar Martin Storsjö

tools: Add a cast to silence an MSVC warning

parent b37f87df
Pipeline #6885 passed with stages
in 6 minutes and 24 seconds
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment