[*] (todo port) Dont forget these should be upcasted to doubles
This commit is contained in:
parent
22f2e73954
commit
de6b9d0bcb
@ -22,7 +22,7 @@
|
||||
{
|
||||
mach_timebase_info_data_t timebase;
|
||||
mach_timebase_info(&timebase);
|
||||
uFrequency = (timebase.denom * 1'000'000'000.0) / timebase.numer;
|
||||
uFrequency = (double(timebase.denom) * 1'000'000'000.0) / double(timebase.numer);
|
||||
});
|
||||
return uFrequency;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user