[Scummvm-git-logs] scummvm master -> b91c1b2b7845549445c9a254f8b0166c58957dde
eriktorbjorn
noreply at scummvm.org
Sun Sep 28 04:58:28 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:
b91c1b2b78 GRAPHICS: Silence signed/unsigned GCC warning
Commit: b91c1b2b7845549445c9a254f8b0166c58957dde
https://github.com/scummvm/scummvm/commit/b91c1b2b7845549445c9a254f8b0166c58957dde
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2025-09-28T06:57:36+02:00
Commit Message:
GRAPHICS: Silence signed/unsigned GCC warning
I could also have changed the parameter to getWindow() to uint, but
getActiveWindow() returns an int so I guess that's what it is for now.
Changed paths:
graphics/macgui/macwindowmanager.h
diff --git a/graphics/macgui/macwindowmanager.h b/graphics/macgui/macwindowmanager.h
index 783ae94877c..239f7ed4669 100644
--- a/graphics/macgui/macwindowmanager.h
+++ b/graphics/macgui/macwindowmanager.h
@@ -283,7 +283,7 @@ public:
* @return Pointer to the requested window, if it exists.
*/
BaseMacWindow *getWindow(int id) {
- if (id >= 0 && id < _windows.size())
+ if (id >= 0 && id < (int)_windows.size())
return _windows[id];
return nullptr;
}
More information about the Scummvm-git-logs
mailing list