From 1bf0732443ee464d40ff534a94bb42fed92c6efc Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Mon, 17 Aug 2020 13:59:40 -0700 Subject: [PATCH] Fix Wsign-compare warnings in test. --- llvm/unittests/Object/XCOFFObjectFileTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.7.4