From 309f7e94430f65e7270e82a1646804e9d610367a Mon Sep 17 00:00:00 2001 From: Mark Jansen Date: Sun, 23 Feb 2020 22:36:03 +0100 Subject: [PATCH] gcc is crying again --- 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 182d1068665..0804b4a614f 100644 --- a/base/applications/rapps/gui.cpp +++ b/base/applications/rapps/gui.cpp @@ -1857,7 +1857,7 @@ public: // When there is no control found, go to the first or last (depending on tab vs shift-tab) int current = direction > 0 ? 0 : (_countof(Controls) - 1); HWND hActive = ::GetFocus(); - for (int n = 0; n < _countof(Controls); ++n) + for (size_t n = 0; n < _countof(Controls); ++n) { if (hActive == Controls[n]) {