Silence warning: comparison of integers of different signs: 'const unsigned int'...
authorAlexandre Ganea <alexandre.ganea@ubisoft.com>
Sun, 27 Dec 2020 19:15:50 +0000 (14:15 -0500)
committerAlexandre Ganea <alexandre.ganea@ubisoft.com>
Thu, 7 Jan 2021 18:01:06 +0000 (13:01 -0500)
(off_t being a signed type)

clang/unittests/Basic/FileEntryTest.cpp

index a3e03e6..16c8e57 100644 (file)
@@ -57,7 +57,7 @@ struct RefMaps {
 
 TEST(FileEntryTest, Constructor) {
   FileEntry FE;
-  EXPECT_EQ(0U, FE.getSize());
+  EXPECT_EQ(0, FE.getSize());
   EXPECT_EQ(0, FE.getModificationTime());
   EXPECT_EQ(nullptr, FE.getDir());
   EXPECT_EQ(0U, FE.getUniqueID().getDevice());