aboutsummaryrefslogtreecommitdiff
path: root/engines/access
diff options
context:
space:
mode:
authorPaul Gilbert2015-12-02 21:49:56 -0500
committerPaul Gilbert2015-12-02 21:49:56 -0500
commitcc497fb8dcd6bfb3de1d8844b8d25a0783ae0aac (patch)
tree72356f30040365c37fc3420af7735332af4b4085 /engines/access
parenta6a9315d6e0db500d9be2508b038b84cb6d4bc98 (diff)
downloadscummvm-rg350-cc497fb8dcd6bfb3de1d8844b8d25a0783ae0aac.tar.gz
scummvm-rg350-cc497fb8dcd6bfb3de1d8844b8d25a0783ae0aac.tar.bz2
scummvm-rg350-cc497fb8dcd6bfb3de1d8844b8d25a0783ae0aac.zip
ACCESS: Explicit cast in figuring out fade out pixel values
Diffstat (limited to 'engines/access')
-rw-r--r--engines/access/screen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/access/screen.cpp b/engines/access/screen.cpp
index 364b0a7eef..e6d43d0156 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);
}
}