[Scummvm-git-logs] scummvm master -> 3c96f78ec5d88ea53ae7bf3253bb006ffae488ea
digitall
547637+digitall at users.noreply.github.com
Thu Oct 1 23:09:33 UTC 2020
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:
3c96f78ec5 KEYMAPPER: Fix GCC Compiler Warning for Signed vs Unsigned Comparison
Commit: 3c96f78ec5d88ea53ae7bf3253bb006ffae488ea
https://github.com/scummvm/scummvm/commit/3c96f78ec5d88ea53ae7bf3253bb006ffae488ea
Author: D G Turner (digitall at scummvm.org)
Date: 2020-10-02T00:05:07+01:00
Commit Message:
KEYMAPPER: Fix GCC Compiler Warning for Signed vs Unsigned Comparison
Changed paths:
backends/keymapper/remap-widget.cpp
diff --git a/backends/keymapper/remap-widget.cpp b/backends/keymapper/remap-widget.cpp
index a73b1fcfb6..fcc5ee3e25 100644
--- a/backends/keymapper/remap-widget.cpp
+++ b/backends/keymapper/remap-widget.cpp
@@ -218,7 +218,7 @@ void RemapWidget::startRemapping(uint actionIndex) {
_remapAction = _actions[actionIndex].action;
uint32 remapTimeoutDelay = kRemapMinTimeoutDelay;
- if (ConfMan.hasKey("remap_timeout_delay_ms") && (ConfMan.getInt("remap_timeout_delay_ms") > kRemapMinTimeoutDelay)) {
+ if (ConfMan.hasKey("remap_timeout_delay_ms") && ((uint32)ConfMan.getInt("remap_timeout_delay_ms") > kRemapMinTimeoutDelay)) {
remapTimeoutDelay = (uint32)ConfMan.getInt("remap_timeout_delay_ms");
}
_remapTimeout = g_system->getMillis() + remapTimeoutDelay;
More information about the Scummvm-git-logs
mailing list