AVALANCHE: (hopefully) fix a GCC warning

This commit is contained in:
Strangerke 2013-09-22 20:20:51 +02:00
parent 863709ca57
commit 061c06c128

View File

@ -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;