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:
Vadim Zeitlin 2022-10-15 19:55:59 +02:00
parent 3cff415ba9
commit d5a29e1743

View file

@ -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__