aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction
diff options
context:
space:
mode:
authorEugene Sandulenko2008-02-05 15:33:01 +0000
committerEugene Sandulenko2008-02-05 15:33:01 +0000
commit9f6282defcc100fd7eb6f8aa01de643555217f7e (patch)
treea6a0e1fe5d0dc0b56ad2dd52b60ac1c37e18b7df /engines/parallaction
parent4174f0b9d42240bb7a1f76fc3f7e26182e5a4544 (diff)
downloadscummvm-rg350-9f6282defcc100fd7eb6f8aa01de643555217f7e.tar.gz
scummvm-rg350-9f6282defcc100fd7eb6f8aa01de643555217f7e.tar.bz2
scummvm-rg350-9f6282defcc100fd7eb6f8aa01de643555217f7e.zip
Fix compilation
svn-id: r30800
Diffstat (limited to 'engines/parallaction')
-rw-r--r--engines/parallaction/graphics.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/parallaction/graphics.cpp b/engines/parallaction/graphics.cpp
index 3e21376073..e90cc54c9e 100644
--- a/engines/parallaction/graphics.cpp
+++ b/engines/parallaction/graphics.cpp
@@ -351,8 +351,8 @@ void Gfx::clearScreen() {
void Gfx::updateScreen() {
// background may not cover the whole screen, so adjust bulk update size
- uint w = MIN(_vm->_screenWidth, _backgroundInfo.width);
- uint h = MIN(_vm->_screenHeight, _backgroundInfo.height);
+ uint w = MIN(_vm->_screenWidth, (int32)_backgroundInfo.width);
+ uint h = MIN(_vm->_screenHeight, (int32)_backgroundInfo.height);
// TODO: add displacement to source to handle scrolling in BRA
g_system->copyRectToScreen((const byte*)_backgroundInfo.bg.pixels, _backgroundInfo.bg.pitch, _backgroundInfo.x, _backgroundInfo.y, w, h);