aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/minigames
diff options
context:
space:
mode:
authorMax Horn2012-02-22 18:26:38 +0100
committerMax Horn2012-02-22 18:26:38 +0100
commit9628913cdc1cf832ba438a2015db4e25e7217524 (patch)
tree5c885db8a839c3c65a8ab8ae513031b724607d80 /engines/gob/minigames
parent37216ab3814f68d45df1f02fd8765e58b4a1b9df (diff)
downloadscummvm-rg350-9628913cdc1cf832ba438a2015db4e25e7217524.tar.gz
scummvm-rg350-9628913cdc1cf832ba438a2015db4e25e7217524.tar.bz2
scummvm-rg350-9628913cdc1cf832ba438a2015db4e25e7217524.zip
GOB: Fix type conversion warning
Diffstat (limited to 'engines/gob/minigames')
-rw-r--r--engines/gob/minigames/geisha/meter.cpp2
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;