Fix another Wsign-comparison warning.
authorEric Christopher <echristo@gmail.com>
Mon, 17 Aug 2020 21:28:35 +0000 (14:28 -0700)
committerEric Christopher <echristo@gmail.com>
Mon, 17 Aug 2020 21:31:57 +0000 (14:31 -0700)
llvm/unittests/Object/XCOFFObjectFileTest.cpp

index c10d995..cb00045 100644 (file)
@@ -167,7 +167,7 @@ TEST(XCOFFObjectFileTest, XCOFFTracebackTableTruncatedAtMandatory) {
       TTOrErr.takeError(),
       FailedWithMessage(
           "unexpected end of data at offset 0x6 while reading [0x0, 0x8)"));
-  EXPECT_EQ(Size, 0);
+  EXPECT_EQ(Size, 0UL);
 }
 
 TEST(XCOFFObjectFileTest, XCOFFTracebackTableTruncatedAtParmsType) {