From 9628913cdc1cf832ba438a2015db4e25e7217524 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 22 Feb 2012 18:26:38 +0100 Subject: GOB: Fix type conversion warning --- engines/gob/minigames/geisha/meter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/gob') 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; -- cgit v1.2.3