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:
@@ -776,7 +776,7 @@ TEST_CASE( "wxMenuItemAccelEntry", "[menu][accelentry]" )
|
|||||||
|
|
||||||
SECTION( "Modifier keys" )
|
SECTION( "Modifier keys" )
|
||||||
{
|
{
|
||||||
for ( int i = 0; i < WXSIZEOF(modKeys); i++ )
|
for ( unsigned i = 0; i < WXSIZEOF(modKeys); i++ )
|
||||||
{
|
{
|
||||||
const key& k = modKeys[i];
|
const key& k = modKeys[i];
|
||||||
|
|
||||||
@@ -793,7 +793,7 @@ TEST_CASE( "wxMenuItemAccelEntry", "[menu][accelentry]" )
|
|||||||
|
|
||||||
SECTION( "Special keys" )
|
SECTION( "Special keys" )
|
||||||
{
|
{
|
||||||
for ( int i = 0; i < WXSIZEOF(specialKeys); i++ )
|
for ( unsigned i = 0; i < WXSIZEOF(specialKeys); i++ )
|
||||||
{
|
{
|
||||||
const key& k = specialKeys[i];
|
const key& k = specialKeys[i];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user