Fix harmless signed/unsigned comparison warning in wxFile test
This warning didn't happen with Catch 1.x, but is given with 2.x, so avoid it by casting to the correct type.
This commit is contained in:
parent
3cff415ba9
commit
d5a29e1743
1 changed files with 1 additions and 1 deletions
|
|
@ -162,7 +162,7 @@ TEST_CASE("wxFile::Special", "[file][linux][special-file]")
|
|||
CHECK( fileSys.IsOpened() );
|
||||
CHECK( fileSys.ReadAll(&s) );
|
||||
CHECK( !s.empty() );
|
||||
CHECK( s.length() < pageSize );
|
||||
CHECK( s.length() < static_cast<unsigned long>(pageSize) );
|
||||
}
|
||||
|
||||
#endif // __LINUX__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue