From 00de4b2b3cc878b776b64f576a8527f4f916567d Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 7 Dec 2008 09:21:01 +0000 Subject: Fix bug #2401150: "Compiler: No matching function (Parallaction / Amiga)" svn-id: r35269 --- engines/parallaction/graphics.cpp | 5 +++-- 1 file 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); -- cgit v1.2.3