https://git.reactos.org/?p=reactos.git;a=commitdiff;h=60e89359c19acafffdadc…
commit 60e89359c19acafffdadc01a3b930776cb572762
Author: Mark Jansen <mark.jansen(a)reactos.org>
AuthorDate: Sun Feb 23 22:41:13 2020 +0100
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Sun Feb 23 22:41:42 2020 +0100
More very serious issue pointed out by gcc
---
base/applications/rapps/gui.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/base/applications/rapps/gui.cpp b/base/applications/rapps/gui.cpp
index 0804b4a614f..43f27202e91 100644
--- a/base/applications/rapps/gui.cpp
+++ b/base/applications/rapps/gui.cpp
@@ -1868,7 +1868,7 @@ public:
if (current < 0)
current = (_countof(Controls) - 1);
- else if (current >= _countof(Controls))
+ else if ((UINT)current >= _countof(Controls))
current = 0;
::SetFocus(Controls[current]);