diff options
Diffstat (limited to 'engines/gob/minigames')
-rw-r--r-- | engines/gob/minigames/geisha/meter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/minigames/geisha/meter.cpp b/engines/gob/minigames/geisha/meter.cpp index 335622c5df..e3b9bd1ccf 100644 --- a/engines/gob/minigames/geisha/meter.cpp +++ b/engines/gob/minigames/geisha/meter.cpp @@ -101,7 +101,7 @@ void Meter::update() { _surface->fill(_backColor); - int32 n = floor((((float) _width) / _maxValue * _value) + 0.5); + int32 n = (int32)floor((((float) _width) / _maxValue * _value) + 0.5); if (n <= 0) return; |