Compile fix: forgotten parentheses around value

This commit is contained in:
Mathias Gumz 2013-01-02 09:57:32 +01:00
parent 2294b16526
commit f587cc9e7e

View file

@ -71,7 +71,7 @@ uint64_t _now() {
initial = false; initial = false;
mach_timebase_info_data_t info; mach_timebase_info_data_t info;
if (mach_timebase_info(&info) == 0) { if (mach_timebase_info(&info) == 0) {
micro_scale *= static_cast<double>info.numer / static_cast<double>(info.denom); micro_scale *= static_cast<double>(info.numer) / static_cast<double>(info.denom);
} }
} }