Skip to content

Commit

Permalink
ADT/SparseMultiSetTest.cpp: Try to appease cygwin-clang (libstdc++-4.…
Browse files Browse the repository at this point in the history
…5) on stage2. [-Wsign-compare]

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173127 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
chapuni committed Jan 22, 2013
1 parent fc8d1dd commit 19f2445
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unittests/ADT/SparseMultiSetTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 19f2445

Please sign in to comment.