[Scummvm-git-logs] scummvm master -> 331f59873babe8c44e298ba11a58df473b6786fe
sev-
noreply at scummvm.org
Sun Dec 5 22:44:57 UTC 2021
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:
331f59873b MACVENTURE: Correct datatype for active flag
Commit: 331f59873babe8c44e298ba11a58df473b6786fe
https://github.com/scummvm/scummvm/commit/331f59873babe8c44e298ba11a58df473b6786fe
Author: Henrik "Henke37" Andersson (henke at henke37.cjb.net)
Date: 2021-12-05T23:44:55+01:00
Commit Message:
MACVENTURE: Correct datatype for active flag
This silences a warning in MSVC about an unsafe operation
Changed paths:
engines/macventure/gui.cpp
diff --git a/engines/macventure/gui.cpp b/engines/macventure/gui.cpp
index 2a71ad344f..6925ef76d2 100644
--- a/engines/macventure/gui.cpp
+++ b/engines/macventure/gui.cpp
@@ -401,7 +401,7 @@ void Gui::loadBorders(Graphics::MacWindow *target, MVWindowType type) {
void Gui::loadBorder(Graphics::MacWindow *target, MVWindowType type, bool active) {
Common::SeekableReadStream *stream;
- bool activeFlag = (active ? Graphics::kWindowBorderActive : 0);
+ uint32 activeFlag = (active ? Graphics::kWindowBorderActive : 0);
bool canHaveTitle = false;
bool canHaveScrollbar = false;
More information about the Scummvm-git-logs
mailing list