From: NAKAMURA Takumi Date: Tue, 22 Jan 2013 05:30:15 +0000 (+0000) Subject: ADT/SparseMultiSetTest.cpp: Try to appease cygwin-clang (libstdc++-4.5) on stage2... X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=90c45fcaa66a434c026f327a131583f5471c5ab3;p=platform%2Fupstream%2Fllvm.git ADT/SparseMultiSetTest.cpp: Try to appease cygwin-clang (libstdc++-4.5) on stage2. [-Wsign-compare] llvm-svn: 173127 --- diff --git a/llvm/unittests/ADT/SparseMultiSetTest.cpp b/llvm/unittests/ADT/SparseMultiSetTest.cpp index 4ac0388..d8999ca 100644 --- a/llvm/unittests/ADT/SparseMultiSetTest.cpp +++ b/llvm/unittests/ADT/SparseMultiSetTest.cpp @@ -133,9 +133,9 @@ TEST(SparseMultiSetTest, MultipleEntrySet) { Set.insert(8); // Erase all the 8s - EXPECT_EQ(5u, std::distance(Set.getHead(8), Set.end())); + EXPECT_EQ(5, std::distance(Set.getHead(8), Set.end())); Set.eraseAll(8); - EXPECT_EQ(0u, std::distance(Set.getHead(8), Set.end())); + EXPECT_EQ(0, std::distance(Set.getHead(8), Set.end())); // Clear and resize the universe. Set.clear();