gcc is crying again

This commit is contained in:
Mark Jansen 2020-02-23 22:36:03 +01:00
parent 482eb909fe
commit 309f7e9443
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B

View file

@ -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])
{