From 061c06c1286ba20b58412e494cf39a40eabb35b6 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Sun, 22 Sep 2013 20:20:51 +0200 Subject: AVALANCHE: (hopefully) fix a GCC warning --- engines/avalanche/parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/avalanche') 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; -- cgit v1.2.3