[llvm] 1bf0732 - Fix Wsign-compare warnings in test.
Eric Christopher via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 17 14:00:41 PDT 2020
Author: Eric Christopher
Date: 2020-08-17T14:00:22-07:00
New Revision: 1bf0732443ee464d40ff534a94bb42fed92c6efc
URL: https://github.com/llvm/llvm-project/commit/1bf0732443ee464d40ff534a94bb42fed92c6efc
DIFF: https://github.com/llvm/llvm-project/commit/1bf0732443ee464d40ff534a94bb42fed92c6efc.diff
LOG: Fix Wsign-compare warnings in test.
Added:
Modified:
llvm/unittests/Object/XCOFFObjectFileTest.cpp
Removed:
################################################################################
diff --git a/llvm/unittests/Object/XCOFFObjectFileTest.cpp b/llvm/unittests/Object/XCOFFObjectFileTest.cpp
index e96f3eb62343..c10d995fc75a 100644
--- a/llvm/unittests/Object/XCOFFObjectFileTest.cpp
+++ b/llvm/unittests/Object/XCOFFObjectFileTest.cpp
@@ -143,7 +143,7 @@ TEST(XCOFFObjectFileTest, XCOFFTracebackTableAPIControlledStorageInfoDisp) {
SmallVector<uint32_t, 8> Disp = TT.getControlledStorageInfoDisp().getValue();
- ASSERT_EQ(Disp.size(), 2);
+ ASSERT_EQ(Disp.size(), 2UL);
EXPECT_EQ(Disp[0], 0x05050000u);
EXPECT_EQ(Disp[1], 0x06060000u);
}
More information about the llvm-commits
mailing list