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

npjg noreply at scummvm.org
Wed Feb 25 02:28:51 UTC 2026


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:
db0645241f MEDIASTATION: Fix GCC comparison of unsigned expression warnings


Commit: db0645241f778493239869e5db781ec7dd4536b9
    https://github.com/scummvm/scummvm/commit/db0645241f778493239869e5db781ec7dd4536b9
Author: Nathanael Gentry (nathanael.gentrydb8 at gmail.com)
Date: 2026-02-24T21:25:58-05:00

Commit Message:
MEDIASTATION: Fix GCC comparison of unsigned expression warnings

Changed paths:
    engines/mediastation/actor.h


diff --git a/engines/mediastation/actor.h b/engines/mediastation/actor.h
index 9c3b10a9084..d86fea7069b 100644
--- a/engines/mediastation/actor.h
+++ b/engines/mediastation/actor.h
@@ -174,7 +174,7 @@ enum MouseEventFlag {
 
 // For a range of valid argument counts (min to max).
 #define ARGCOUNTRANGE(min, max) \
-	if (args.size() < (size_t)(min) || args.size() > (max)) { \
+	if (((min) > 0 && args.size() < (size_t)(min)) || args.size() > (max)) { \
 		warning("%s: Expected %d to %d arguments, got %d", builtInMethodToStr(methodId), (min), (max), args.size()); \
 	}
 




More information about the Scummvm-git-logs mailing list