Fix signed/unsigned comparison warnings in wxPropertyGrid tests
Use size_t for a variable being compared with a size_t expression.
This commit is contained in:
parent
b4ab8de248
commit
c6a18264e1
1 changed files with 2 additions and 2 deletions
|
|
@ -588,7 +588,7 @@ TEST_CASE("PropertyGridTestCase", "[propgrid]")
|
|||
}
|
||||
REQUIRE(propertiesPageLast == propertiesPageLastInit);
|
||||
|
||||
int countAllProperties = 0;
|
||||
size_t countAllProperties = 0;
|
||||
for ( it = pgManager->GetVIterator(wxPG_ITERATOR_FLAGS_ALL | wxPG_IT_CHILDREN(wxPG_ITERATOR_FLAGS_ALL)); !it.AtEnd(); it.Next() )
|
||||
{
|
||||
countAllProperties++;
|
||||
|
|
@ -650,7 +650,7 @@ TEST_CASE("PropertyGridTestCase", "[propgrid]")
|
|||
}
|
||||
REQUIRE(propertiesPageFirst == propertiesPageFirstInit);
|
||||
|
||||
int countAllProperties = 0;
|
||||
size_t countAllProperties = 0;
|
||||
for ( it = pgManager->GetVIterator(wxPG_ITERATOR_FLAGS_ALL | wxPG_IT_CHILDREN(wxPG_ITERATOR_FLAGS_ALL)); !it.AtEnd(); it.Next() )
|
||||
{
|
||||
countAllProperties++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue