From d0154456e61c5ab79e25fc9b8bb684ebdca3a7c2 Mon Sep 17 00:00:00 2001 From: Alexandre Ganea Date: Sun, 27 Dec 2020 14:15:50 -0500 Subject: [PATCH] Silence warning: comparison of integers of different signs: 'const unsigned int' and 'const long' [-Wsign-compare] (off_t being a signed type) --- clang/unittests/Basic/FileEntryTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/unittests/Basic/FileEntryTest.cpp b/clang/unittests/Basic/FileEntryTest.cpp index a3e03e6..16c8e57 100644 --- a/clang/unittests/Basic/FileEntryTest.cpp +++ b/clang/unittests/Basic/FileEntryTest.cpp @@ -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()); -- 2.7.4