diff --git a/src/modules/timer/Timer.cpp b/src/modules/timer/Timer.cpp index c3c020f38..db0df8241 100644 --- a/src/modules/timer/Timer.cpp +++ b/src/modules/timer/Timer.cpp @@ -155,7 +155,7 @@ double Timer::getTime() static const mach_timebase_info_data_t info = getTimebaseInfo(); static const uint64_t start = mach_absolute_time(); const uint64_t rel = mach_absolute_time() - start; - return ((double) rel * 1.0e-9) * (double) info.number / (double) info.denom; + return ((double) rel * 1.0e-9) * (double) info.numer / (double) info.denom; } #elif defined(LOVE_WINDOWS)