aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
authorEugene Sandulenko2012-02-23 23:55:45 -0800
committerEugene Sandulenko2012-02-23 23:55:45 -0800
commit54c87f20e344568bc1dedebcc0706b2151f94076 (patch)
tree7b28a41b86db419589d6a4806c83a9a7848690ec /engines/gob
parentc3b52343dceaae253df9324a417a526f13c52333 (diff)
parent9628913cdc1cf832ba438a2015db4e25e7217524 (diff)
downloadscummvm-rg350-54c87f20e344568bc1dedebcc0706b2151f94076.tar.gz
scummvm-rg350-54c87f20e344568bc1dedebcc0706b2151f94076.tar.bz2
scummvm-rg350-54c87f20e344568bc1dedebcc0706b2151f94076.zip
Merge pull request #189 from fingolfin/cleanup
ALL: Cleanup
Diffstat (limited to 'engines/gob')
-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;