AVALANCHE: (hopefully) fix a GCC warning
This commit is contained in:
parent
863709ca57
commit
061c06c128
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue