[Scummvm-git-logs] scummvm master -> a162a731d8d2478942f1d8ddbe90cf4d57a5935b
digitall
noreply at scummvm.org
Sun Aug 13 22:38:25 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:
a162a731d8 AGS: Fix Signed vs. Unsigned Comparison GCC Compiler Warning
Commit: a162a731d8d2478942f1d8ddbe90cf4d57a5935b
https://github.com/scummvm/scummvm/commit/a162a731d8d2478942f1d8ddbe90cf4d57a5935b
Author: D G Turner (digitall at scummvm.org)
Date: 2023-08-13T23:37:58+01:00
Commit Message:
AGS: Fix Signed vs. Unsigned Comparison GCC Compiler Warning
Changed paths:
engines/ags/engine/script/script.cpp
diff --git a/engines/ags/engine/script/script.cpp b/engines/ags/engine/script/script.cpp
index e1ee81cc29a..89724d1897d 100644
--- a/engines/ags/engine/script/script.cpp
+++ b/engines/ags/engine/script/script.cpp
@@ -159,7 +159,7 @@ int run_interaction_event(Interaction *nint, int evnt, int chkAny, int isInv) {
// (eg. a room change occurred)
int run_interaction_script(InteractionScripts *nint, int evnt, int chkAny) {
- if ((nint->ScriptFuncNames.size() <= evnt) || nint->ScriptFuncNames[evnt].IsEmpty()) {
+ if (((int)nint->ScriptFuncNames.size() <= evnt) || nint->ScriptFuncNames[evnt].IsEmpty()) {
// no response defined for this event
// If there is a response for "Any Click", then abort now so as to
// run that instead
More information about the Scummvm-git-logs
mailing list