From 1e52884abefee9055697eeee9f4fa7747b2a58d0 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Mon, 23 Jan 2023 18:05:54 +0100 Subject: [PATCH] Changed a data type. --- es-app/src/SystemData.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/es-app/src/SystemData.cpp b/es-app/src/SystemData.cpp index 14aee5f1d..b092cd5f8 100644 --- a/es-app/src/SystemData.cpp +++ b/es-app/src/SystemData.cpp @@ -513,8 +513,8 @@ bool SystemData::loadConfig() const bool splashScreen {Settings::getInstance()->getBool("SplashScreen")}; float systemCount {0.0f}; float loadedSystems {0.0f}; - Uint64 lastTime {0}; - Uint64 accumulator {0}; + uint64_t lastTime {0}; + uint64_t accumulator {0}; for (pugi::xml_node system {systemList.child("system")}; system; system = system.next_sibling("system")) { @@ -535,7 +535,7 @@ bool SystemData::loadConfig() path = system.child("path").text().get(); if (splashScreen) { - const Uint64 curTime {SDL_GetTicks64()}; + const uint64_t curTime {SDL_GetTicks64()}; accumulator += curTime - lastTime; lastTime = curTime; ++loadedSystems;