[Scummvm-git-logs] scummvm master -> 17a3c79fc094f0128f3b325b12cae873dbfc7590

dwatteau noreply at scummvm.org
Sat Aug 17 17:33:48 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:
17a3c79fc0 SCUMM: HE: Silence MSVC C4245 char/byte sign mismatch warning


Commit: 17a3c79fc094f0128f3b325b12cae873dbfc7590
    https://github.com/scummvm/scummvm/commit/17a3c79fc094f0128f3b325b12cae873dbfc7590
Author: Donovan Watteau (contrib at dwatteau.fr)
Date: 2024-08-17T18:21:21+02:00

Commit Message:
SCUMM: HE: Silence MSVC C4245 char/byte sign mismatch warning

Changed paths:
    engines/scumm/he/moonbase/map_spiff.cpp


diff --git a/engines/scumm/he/moonbase/map_spiff.cpp b/engines/scumm/he/moonbase/map_spiff.cpp
index 6644c66c7f8..60a7beb762c 100644
--- a/engines/scumm/he/moonbase/map_spiff.cpp
+++ b/engines/scumm/he/moonbase/map_spiff.cpp
@@ -91,7 +91,7 @@ MapFile *SpiffGenerator::generateMap(int water, int tileset, int mapSize, int en
 			mif._cornerMap[newX][newY] = levelMap[_mapCorner[x][y]];
 			switch (_mapMiddle[x][y]) {
 			case HUB:
-				t = '\xFF';
+				t = 0xff;
 				break;
 			case SMALLPOOL:
 				t = 'S';




More information about the Scummvm-git-logs mailing list