diff --git a/es-app/src/main.cpp b/es-app/src/main.cpp
index b354a96a3..9c9182427 100644
--- a/es-app/src/main.cpp
+++ b/es-app/src/main.cpp
@@ -524,8 +524,8 @@ void applicationLoop()
             } while (SDL_PollEvent(&event));
         }
 
-        int curTime = SDL_GetTicks();
-        int deltaTime = curTime - lastTime;
+        int curTime {static_cast<int>(SDL_GetTicks())};
+        int deltaTime {curTime - lastTime};
         lastTime = curTime;
 
         // Cap deltaTime if it ever goes negative.