mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-20 00:41:12 +00:00
AVALANCHE: (hopefully) fix a GCC warning
This commit is contained in:
parent
863709ca57
commit
061c06c128
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user