aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction
diff options
context:
space:
mode:
authorEugene Sandulenko2008-12-07 09:21:01 +0000
committerEugene Sandulenko2008-12-07 09:21:01 +0000
commit00de4b2b3cc878b776b64f576a8527f4f916567d (patch)
tree14960c8e07f2de0a879709147dc61f60e38c3e08 /engines/parallaction
parent87a097618583e6044c8c9d08e32b6a28932f7815 (diff)
downloadscummvm-rg350-00de4b2b3cc878b776b64f576a8527f4f916567d.tar.gz
scummvm-rg350-00de4b2b3cc878b776b64f576a8527f4f916567d.tar.bz2
scummvm-rg350-00de4b2b3cc878b776b64f576a8527f4f916567d.zip
Fix bug #2401150: "Compiler: No matching function (Parallaction / Amiga)"
svn-id: r35269
Diffstat (limited to 'engines/parallaction')
-rw-r--r--engines/parallaction/graphics.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/parallaction/graphics.cpp b/engines/parallaction/graphics.cpp
index c72c0b7851..6aeb7a859f 100644
--- a/engines/parallaction/graphics.cpp
+++ b/engines/parallaction/graphics.cpp
@@ -1,3 +1,4 @@
+
/* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
@@ -919,8 +920,8 @@ void Gfx::setBackground(uint type, BackgroundInfo *info) {
}
if (_gameType == GType_BRA) {
- int width = CLIP(info->width, _vm->_screenWidth, info->width);
- int height = CLIP(info->height, _vm->_screenHeight, info->height);
+ int width = CLIP(info->width, (int)_vm->_screenWidth, info->width);
+ int height = CLIP(info->height, (int)_vm->_screenHeight, info->height);
if (width != _backBuffer.w || height != _backBuffer.h) {
_backBuffer.create(width, height, 1);