From: Eric Christopher Date: Mon, 17 Aug 2020 20:59:40 +0000 (-0700) Subject: Fix Wsign-compare warnings in test. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1bf0732443ee464d40ff534a94bb42fed92c6efc;p=platform%2Fupstream%2Fllvm.git Fix Wsign-compare warnings in test. --- diff --git a/llvm/unittests/Object/XCOFFObjectFileTest.cpp b/llvm/unittests/Object/XCOFFObjectFileTest.cpp index e96f3eb..c10d995 100644 --- a/llvm/unittests/Object/XCOFFObjectFileTest.cpp +++ b/llvm/unittests/Object/XCOFFObjectFileTest.cpp @@ -143,7 +143,7 @@ TEST(XCOFFObjectFileTest, XCOFFTracebackTableAPIControlledStorageInfoDisp) { SmallVector Disp = TT.getControlledStorageInfoDisp().getValue(); - ASSERT_EQ(Disp.size(), 2); + ASSERT_EQ(Disp.size(), 2UL); EXPECT_EQ(Disp[0], 0x05050000u); EXPECT_EQ(Disp[1], 0x06060000u); }