diff --git a/test/archive.cpp b/test/archive.cpp index 55e520e14..955b55a3d 100644 --- a/test/archive.cpp +++ b/test/archive.cpp @@ -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) {