aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/supernova/supernova.cpp8
-rw-r--r--engines/supernova/supernova.h2
2 files changed, 5 insertions, 5 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() {
diff --git a/engines/supernova/supernova.h b/engines/supernova/supernova.h
index c1dc3013a7..0068d70191 100644
--- a/engines/supernova/supernova.h
+++ b/engines/supernova/supernova.h
@@ -95,7 +95,7 @@ public:
int _textCursorY;
int _textColor;
- uint getDOSTicks();
+ int getDOSTicks();
void initData();
void initPalette();
void paletteFadeIn();