[Scummvm-git-logs] scummvm master -> 8e7ef2317729c408fd24a747a6a2f8ed28557b08
digitall
noreply at scummvm.org
Mon Jan 2 18:48:10 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:
8e7ef23177 GUI: Fix Signed vs. Unsigned Comparison GCC Compiler Warning
Commit: 8e7ef2317729c408fd24a747a6a2f8ed28557b08
https://github.com/scummvm/scummvm/commit/8e7ef2317729c408fd24a747a6a2f8ed28557b08
Author: D G Turner (digitall at scummvm.org)
Date: 2023-01-02T18:47:53Z
Commit Message:
GUI: Fix Signed vs. Unsigned Comparison GCC Compiler Warning
Changed paths:
gui/options.cpp
diff --git a/gui/options.cpp b/gui/options.cpp
index ad1d68cdd2b..0c988bdc841 100644
--- a/gui/options.cpp
+++ b/gui/options.cpp
@@ -2918,7 +2918,7 @@ void GlobalOptionsDialog::apply() {
if (ConfMan.hasKey("random_seed")) {
if (_randomSeed->getEditString().empty()) {
differs = true;
- } else if ((uint32)_randomSeed->getEditString().asUint64() != ConfMan.getInt("random_seed")) {
+ } else if ((uint32)_randomSeed->getEditString().asUint64() != (uint32)ConfMan.getInt("random_seed")) {
differs = true;
}
} else {
More information about the Scummvm-git-logs
mailing list