Fix a warning.
authorZachary Turner <zturner@google.com>
Thu, 6 Sep 2018 16:34:56 +0000 (16:34 +0000)
committerZachary Turner <zturner@google.com>
Thu, 6 Sep 2018 16:34:56 +0000 (16:34 +0000)
llvm-svn: 341561

llvm/unittests/DebugInfo/PDB/NativeSymbolReuseTest.cpp

index 8c98f83..8168927 100644 (file)
@@ -65,7 +65,7 @@ TEST(NativeSymbolReuseTest, CompilandSymbolReuse) {
   {
     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