Skip to content

Commit

Permalink
Avoid warning when comparing signed and unsigned int.
Browse files Browse the repository at this point in the history
  • Loading branch information
mgautierfr committed Oct 20, 2023
1 parent 6460196 commit e040039
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/archive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ TEST(ZimArchive, openingAnEmptyZimArchiveSucceeds)
zim::Archive archive(tmpfile->path());
ASSERT_TRUE(archive.check());

ASSERT_EQ(archive.getMediaCount(), 0);
ASSERT_EQ(archive.getArticleCount(), 0);
ASSERT_EQ(archive.getMediaCount(), 0U);
ASSERT_EQ(archive.getArticleCount(), 0U);
}

bool isNastyOffset(int offset) {
Expand Down

0 comments on commit e040039

Please sign in to comment.