aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche
diff options
context:
space:
mode:
authorStrangerke2013-09-22 20:20:51 +0200
committerStrangerke2013-09-22 20:20:51 +0200
commit061c06c1286ba20b58412e494cf39a40eabb35b6 (patch)
tree307ecb171a3395840b07e5517f114b47aed79662 /engines/avalanche
parent863709ca576652767af00e9dcb84dfaab11e1a9e (diff)
downloadscummvm-rg350-061c06c1286ba20b58412e494cf39a40eabb35b6.tar.gz
scummvm-rg350-061c06c1286ba20b58412e494cf39a40eabb35b6.tar.bz2
scummvm-rg350-061c06c1286ba20b58412e494cf39a40eabb35b6.zip
AVALANCHE: (hopefully) fix a GCC warning
Diffstat (limited to 'engines/avalanche')
-rw-r--r--engines/avalanche/parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/avalanche/parser.cpp b/engines/avalanche/parser.cpp
index 67f4243c18..1bfbe93f3a 100644
--- a/engines/avalanche/parser.cpp
+++ b/engines/avalanche/parser.cpp
@@ -549,7 +549,7 @@ Common::String Parser::totalTime() {
const double ticksInOneSec = (double)(65535) / 3600;
uint16 h, m, s;
- h = floor(_vm->_avalot->_totalTime / ticksInOneSec); // No. of seconds.
+ h = (uint16)floor(_vm->_avalot->_totalTime / ticksInOneSec); // No. of seconds.
m = h % 3600;
h /= 3600;
s = m % 60;