ACCESS: Explicit cast in figuring out fade out pixel values

This commit is contained in:
Paul Gilbert 2015-12-02 21:49:56 -05:00
parent a6a9315d6e
commit cc497fb8dc

View File

@ -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);
}
}