From 60e89359c19acafffdadc01a3b930776cb572762 Mon Sep 17 00:00:00 2001 From: Mark Jansen Date: Sun, 23 Feb 2020 22:41:13 +0100 Subject: [PATCH] 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]);