diff options
Diffstat (limited to 'engines/supernova/supernova.cpp')
-rw-r--r-- | engines/supernova/supernova.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/supernova/supernova.cpp b/engines/supernova/supernova.cpp index 2e2957f0c4..53890398dd 100644 --- a/engines/supernova/supernova.cpp +++ b/engines/supernova/supernova.cpp @@ -165,13 +165,13 @@ Common::Error SupernovaEngine::run() { } // Emulates DOS int 1A/00 -uint SupernovaEngine::getDOSTicks() { +int SupernovaEngine::getDOSTicks() { TimeDate systemTime; _system->getTimeAndDate(systemTime); - return static_cast<uint>((systemTime.tm_hour * 24 + - systemTime.tm_min * 60 + - systemTime.tm_sec) * 18.2065); + return static_cast<int>((systemTime.tm_hour * 24 + + systemTime.tm_min * 60 + + systemTime.tm_sec) * 18.2065); } void SupernovaEngine::updateEvents() { |