From 6665df9d6e77b3030d9593d48752498c2b9bea6a Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Sat, 11 Mar 2017 13:02:31 +0000 Subject: [PATCH] Fix signed/unsigned comparison warnings git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297561 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/Analysis/LazyCallGraphTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unittests/Analysis/LazyCallGraphTest.cpp b/unittests/Analysis/LazyCallGraphTest.cpp index 4b6d63da766..6955beb3710 100644 --- a/unittests/Analysis/LazyCallGraphTest.cpp +++ b/unittests/Analysis/LazyCallGraphTest.cpp @@ -1941,7 +1941,7 @@ TEST(LazyCallGraphTest, ReplaceNodeFunction) { LazyCallGraph::RefSCC &RC2 = *I++; EXPECT_EQ(CG.postorder_ref_scc_end(), I); - ASSERT_EQ(2u, RC1.size()); + ASSERT_EQ(2, RC1.size()); LazyCallGraph::SCC &C1 = RC1[0]; LazyCallGraph::SCC &C2 = RC1[1]; @@ -2036,7 +2036,7 @@ TEST(LazyCallGraphTest, RemoveFunctionWithSpurriousRef) { LazyCallGraph::RefSCC &RC2 = *I++; EXPECT_EQ(CG.postorder_ref_scc_end(), I); - ASSERT_EQ(2u, RC1.size()); + ASSERT_EQ(2, RC1.size()); LazyCallGraph::SCC &C1 = RC1[0]; LazyCallGraph::SCC &C2 = RC1[1];