diff options
Diffstat (limited to 'src/integrity_unittest.cc')
-rw-r--r-- | src/integrity_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/integrity_unittest.cc b/src/integrity_unittest.cc index a65e9a7ef..381d1703a 100644 --- a/src/integrity_unittest.cc +++ b/src/integrity_unittest.cc @@ -306,7 +306,7 @@ TEST_CASE("integrity tests", "integrity") SDL_RWops *const rw = VirtFs::rwopsOpenRead(name1); REQUIRE(rw != nullptr); - if (IMG_isPNG(rw) == false) + if (IMG_isPNG(rw) == 0) { SDL_RWclose(rw); REQUIRE(false); |