[llvm] r341561 - Fix a warning.

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 6 09:34:56 PDT 2018


Author: zturner
Date: Thu Sep  6 09:34:56 2018
New Revision: 341561

URL: http://llvm.org/viewvc/llvm-project?rev=341561&view=rev
Log:
Fix a warning.

Modified:
    llvm/trunk/unittests/DebugInfo/PDB/NativeSymbolReuseTest.cpp

Modified: llvm/trunk/unittests/DebugInfo/PDB/NativeSymbolReuseTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/DebugInfo/PDB/NativeSymbolReuseTest.cpp?rev=341561&r1=341560&r2=341561&view=diff
==============================================================================
--- llvm/trunk/unittests/DebugInfo/PDB/NativeSymbolReuseTest.cpp (original)
+++ llvm/trunk/unittests/DebugInfo/PDB/NativeSymbolReuseTest.cpp Thu Sep  6 09:34:56 2018
@@ -65,7 +65,7 @@ TEST(NativeSymbolReuseTest, CompilandSym
   {
     auto Compilands = GS->findAllChildren<PDBSymbolCompiland>();
     ASSERT_NE(nullptr, Compilands);
-    ASSERT_EQ(2, Compilands->getChildCount());
+    ASSERT_EQ(2U, Compilands->getChildCount());
     std::vector<SymIndexId> Ids2;
 
     // First try resetting the enumerator, then try destroying the enumerator




More information about the llvm-commits mailing list