From cc497fb8dcd6bfb3de1d8844b8d25a0783ae0aac Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 2 Dec 2015 21:49:56 -0500 Subject: [PATCH] ACCESS: Explicit cast in figuring out fade out pixel values --- engines/access/screen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/access/screen.cpp b/engines/access/screen.cpp index 364b0a7eef1..e6d43d01560 100644 --- a/engines/access/screen.cpp +++ b/engines/access/screen.cpp @@ -181,7 +181,7 @@ void Screen::forceFadeOut() { int v = *srcP; if (v) { repeatFlag = true; - *srcP = MAX(*srcP - FADE_AMOUNT, 0); + *srcP = MAX((int)*srcP - FADE_AMOUNT, 0); } }