[Scummvm-git-logs] scummvm master -> 527da1a3a92bb5b30315a6f536bea81d7b24190b

digitall noreply at scummvm.org
Mon Sep 26 22:41:34 UTC 2022


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:
527da1a3a9 SCUMM: Fix Minor Code Breakage in AKOS Refactoring


Commit: 527da1a3a92bb5b30315a6f536bea81d7b24190b
    https://github.com/scummvm/scummvm/commit/527da1a3a92bb5b30315a6f536bea81d7b24190b
Author: D G Turner (digitall at scummvm.org)
Date: 2022-09-26T23:38:47+01:00

Commit Message:
SCUMM: Fix Minor Code Breakage in AKOS Refactoring

This generated a number of GCC compiler warnings regarding the comparison
to the enumerated type (which are mostly equivalent to uint, not byte).

Changed paths:
    engines/scumm/akos.cpp


diff --git a/engines/scumm/akos.cpp b/engines/scumm/akos.cpp
index ecf3949054f..e43c10a3bc4 100644
--- a/engines/scumm/akos.cpp
+++ b/engines/scumm/akos.cpp
@@ -52,7 +52,7 @@ struct AkosOffset {
 #include "common/pack-end.h"	// END STRUCT PACKING
 
 
-static bool akosCompare(int a, int b, byte cmd) {
+static bool akosCompare(int a, int b, uint cmd) {
 	switch (cmd) {
 	case AKC_IfVarEQJump:
 	case AKC_IfVarEQDo:




More information about the Scummvm-git-logs mailing list