diff options
author | Eugene Sandulenko | 2008-02-05 15:33:01 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2008-02-05 15:33:01 +0000 |
commit | 9f6282defcc100fd7eb6f8aa01de643555217f7e (patch) | |
tree | a6a0e1fe5d0dc0b56ad2dd52b60ac1c37e18b7df /engines | |
parent | 4174f0b9d42240bb7a1f76fc3f7e26182e5a4544 (diff) | |
download | scummvm-rg350-9f6282defcc100fd7eb6f8aa01de643555217f7e.tar.gz scummvm-rg350-9f6282defcc100fd7eb6f8aa01de643555217f7e.tar.bz2 scummvm-rg350-9f6282defcc100fd7eb6f8aa01de643555217f7e.zip |
Fix compilation
svn-id: r30800
Diffstat (limited to 'engines')
-rw-r--r-- | engines/parallaction/graphics.cpp | 4 |
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); |