[llvm] c6464c8 - Fix another Wsign-comparison warning.

Eric Christopher via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 17 14:32:47 PDT 2020


Author: Eric Christopher
Date: 2020-08-17T14:31:57-07:00
New Revision: c6464c819e660cf8a63618f6ddeafc26559465f9

URL: https://github.com/llvm/llvm-project/commit/c6464c819e660cf8a63618f6ddeafc26559465f9
DIFF: https://github.com/llvm/llvm-project/commit/c6464c819e660cf8a63618f6ddeafc26559465f9.diff

LOG: Fix another Wsign-comparison warning.

Added: 
    

Modified: 
    llvm/unittests/Object/XCOFFObjectFileTest.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/unittests/Object/XCOFFObjectFileTest.cpp b/llvm/unittests/Object/XCOFFObjectFileTest.cpp
index c10d995fc75a..cb0004585d23 100644
--- a/llvm/unittests/Object/XCOFFObjectFileTest.cpp
+++ b/llvm/unittests/Object/XCOFFObjectFileTest.cpp
@@ -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) {


        


More information about the llvm-commits mailing list