[Scummvm-git-logs] scummvm master -> df9ce51662acfe47d0bb6379e3ed25bd6db2f141

digitall 547637+digitall at users.noreply.github.com
Mon May 17 22:18:55 UTC 2021


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
df9ce51662 SLUDGE: Fix Signed vs. Unsigned GCC Compiler Warnings


Commit: df9ce51662acfe47d0bb6379e3ed25bd6db2f141
    https://github.com/scummvm/scummvm/commit/df9ce51662acfe47d0bb6379e3ed25bd6db2f141
Author: D G Turner (digitall at scummvm.org)
Date: 2021-05-17T23:18:50+01:00

Commit Message:
SLUDGE: Fix Signed vs. Unsigned GCC Compiler Warnings

Changed paths:
    engines/sludge/bg_effects.cpp


diff --git a/engines/sludge/bg_effects.cpp b/engines/sludge/bg_effects.cpp
index 3e431278ea..12665527d9 100644
--- a/engines/sludge/bg_effects.cpp
+++ b/engines/sludge/bg_effects.cpp
@@ -284,7 +284,7 @@ bool GraphicsManager::blurScreen() {
 				blur_createSourceLine(sourceLine[y], (byte *)_origBackdropSurface.getBasePtr(0, miniY), overlapOnLeft, _sceneWidth);
 			}
 
-			for (y = 0; y < _sceneHeight; y++) {
+			for (y = 0; y < (int)_sceneHeight; y++) {
 				thisLine = (byte *)_origBackdropSurface.getBasePtr(0, y);
 
 				//-------------------------
@@ -301,7 +301,7 @@ bool GraphicsManager::blurScreen() {
 
 					blur_createSourceLine(sourceLine[h], (byte *)_origBackdropSurface.getBasePtr(0, miniY), overlapOnLeft, _sceneWidth);
 				}
-				for (x = 0; x < _sceneWidth; x++) {
+				for (x = 0; x < (int)_sceneWidth; x++) {
 					int totalRed = 0;
 					int totalGreen = 0;
 					int totalBlue = 0;




More information about the Scummvm-git-logs mailing list