diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 17a918c0e8..0172b3ce3a 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -2614,7 +2614,7 @@ void Application::idle(uint64_t now) { static uint64_t lastIdleStart{ now }; uint64_t idleStartToStartDuration = now - lastIdleStart; if (idleStartToStartDuration != 0) { - _simsPerSecond.updateAverage(static_cast(USECS_PER_SECOND) / static_cast(idleStartToStartDuration)); + _simsPerSecond.updateAverage((float)USECS_PER_SECOND / (float)idleStartToStartDuration); } lastIdleStart = now; }