[Scummvm-git-logs] scummvm master -> e87335a44c5ed14ec35a401cefb8ce10b3d440ce
digitall
noreply at scummvm.org
Tue Dec 31 10:34:17 UTC 2024
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:
e87335a44c SHERLOCK: Fix Signed vs. Unsigned Comparison GCC Compiler Warning
Commit: e87335a44c5ed14ec35a401cefb8ce10b3d440ce
https://github.com/scummvm/scummvm/commit/e87335a44c5ed14ec35a401cefb8ce10b3d440ce
Author: D G Turner (digitall at scummvm.org)
Date: 2024-12-31T10:33:43Z
Commit Message:
SHERLOCK: Fix Signed vs. Unsigned Comparison GCC Compiler Warning
Changed paths:
engines/sherlock/surface.cpp
diff --git a/engines/sherlock/surface.cpp b/engines/sherlock/surface.cpp
index 15a6efe15c0..4028846b8cb 100644
--- a/engines/sherlock/surface.cpp
+++ b/engines/sherlock/surface.cpp
@@ -84,8 +84,8 @@ void BaseSurface::SHoverrideBlitFrom(const Graphics::Surface &src, const Common:
const uint32 transColor = IS_3DO ? 0 : TRANSPARENCY;
- for (uint y = 0; y < destRect.height(); y++) {
- for (uint x = 0; x < destRect.width(); x++) {
+ for (int y = 0; y < destRect.height(); y++) {
+ for (int x = 0; x < destRect.width(); x++) {
const uint8 srcVal = src.getPixel(srcRect.left + x, srcRect.top + y);
if (srcVal == transColor)
continue;
More information about the Scummvm-git-logs
mailing list