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

sev- noreply at scummvm.org
Thu Mar 16 14:08:33 UTC 2023


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:
bf0b23021b GRAPHICS: Fix VS signed/unsigned mismatch warning


Commit: bf0b23021b2b80c32410dc2fbacd23ca860c23d8
    https://github.com/scummvm/scummvm/commit/bf0b23021b2b80c32410dc2fbacd23ca860c23d8
Author: elasota (ejlasota at gmail.com)
Date: 2023-03-16T15:08:29+01:00

Commit Message:
GRAPHICS: Fix VS signed/unsigned mismatch warning

Changed paths:
    graphics/managed_surface.cpp


diff --git a/graphics/managed_surface.cpp b/graphics/managed_surface.cpp
index b3e569edaf6..fa93da052be 100644
--- a/graphics/managed_surface.cpp
+++ b/graphics/managed_surface.cpp
@@ -265,7 +265,7 @@ void ManagedSurface::blitFrom(const ManagedSurface &src, const Common::Rect &src
 void ManagedSurface::blitFrom(const ManagedSurface &src, const Common::Rect &srcRect,
 		const Common::Rect &destRect) {
 	if (src._transparentColorSet)
-		transBlitFrom(src, srcRect, destRect, -1);
+		transBlitFrom(src, srcRect, destRect, (uint32)-1);
 	else
 		blitFromInner(src._innerSurface, srcRect, destRect, src._paletteSet ? src._palette : nullptr);
 }




More information about the Scummvm-git-logs mailing list