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]);