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

digitall noreply at scummvm.org
Sat Oct 4 04:54:43 UTC 2025


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

Summary:
e897f159bb DIRECTOR: Fix Signed vs. Unsigned GCC Compiler Warnings


Commit: e897f159bb72a0b844f58a3cf5a08626644faf61
    https://github.com/scummvm/scummvm/commit/e897f159bb72a0b844f58a3cf5a08626644faf61
Author: D G Turner (digitall at scummvm.org)
Date: 2025-10-04T05:54:16+01:00

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

Changed paths:
    engines/director/lingo/lingo-events.cpp


diff --git a/engines/director/lingo/lingo-events.cpp b/engines/director/lingo/lingo-events.cpp
index 8fbed3354f4..c53bec4beff 100644
--- a/engines/director/lingo/lingo-events.cpp
+++ b/engines/director/lingo/lingo-events.cpp
@@ -247,7 +247,7 @@ void Movie::resolveScriptEvent(LingoEvent &event) {
 
 				if (_vm->getVersion() >= 600) {
 					if (event.behaviorIndex >= 0) {
-						if (event.behaviorIndex >= sprite->_behaviors.size()) {
+						if (event.behaviorIndex >= (int)sprite->_behaviors.size()) {
 							warning("Movie::resolveScriptEvent: invalid behavior index %d, ignoring", event.behaviorIndex);
 						} else {
 							scriptId = sprite->_behaviors[event.behaviorIndex].memberID;




More information about the Scummvm-git-logs mailing list