[Scummvm-cvs-logs] SF.net SVN: scummvm:[35269] scummvm/trunk/engines/parallaction/graphics.cpp
sev at users.sourceforge.net
sev at users.sourceforge.net
Sun Dec 7 10:21:01 CET 2008
Revision: 35269
http://scummvm.svn.sourceforge.net/scummvm/?rev=35269&view=rev
Author: sev
Date: 2008-12-07 09:21:01 +0000 (Sun, 07 Dec 2008)
Log Message:
-----------
Fix bug #2401150: "Compiler: No matching function (Parallaction / Amiga)"
Modified Paths:
--------------
scummvm/trunk/engines/parallaction/graphics.cpp
Modified: scummvm/trunk/engines/parallaction/graphics.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/graphics.cpp 2008-12-07 07:44:52 UTC (rev 35268)
+++ scummvm/trunk/engines/parallaction/graphics.cpp 2008-12-07 09:21:01 UTC (rev 35269)
@@ -1,3 +1,4 @@
+
/* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
@@ -919,8 +920,8 @@
}
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);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list