Fix harmless signed/unsigned comparison warnings in menu test

Make the loop variable unsigned as it's compared with the result of
WXSIZEOF().
This commit is contained in:
Vadim Zeitlin
2019-10-06 13:07:55 +02:00
parent 82caca68ba
commit e677bf7bcd

View File

@@ -776,7 +776,7 @@ TEST_CASE( "wxMenuItemAccelEntry", "[menu][accelentry]" )
SECTION( "Modifier keys" )
{
for ( int i = 0; i < WXSIZEOF(modKeys); i++ )
for ( unsigned i = 0; i < WXSIZEOF(modKeys); i++ )
{
const key& k = modKeys[i];
@@ -793,7 +793,7 @@ TEST_CASE( "wxMenuItemAccelEntry", "[menu][accelentry]" )
SECTION( "Special keys" )
{
for ( int i = 0; i < WXSIZEOF(specialKeys); i++ )
for ( unsigned i = 0; i < WXSIZEOF(specialKeys); i++ )
{
const key& k = specialKeys[i];