aboutsummaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2013-01-22 10:39:31 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2013-01-22 10:39:31 +0000
commit421db34270ca7d5a08b571713a5d9c83ed07b872 (patch)
treeb99587e2105859b6f858a786968590b31f96f675 /unittests
parentf65dc6e347492407fc7792a621849ac2ecd6801c (diff)
ADT/SparseMultiSetTest.cpp: Try to appease cygwin-clang on stage2, take two. [-Wsign-compare]
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173144 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/ADT/SparseMultiSetTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/ADT/SparseMultiSetTest.cpp b/unittests/ADT/SparseMultiSetTest.cpp
index d8999ca351..032990e4bc 100644
--- a/unittests/ADT/SparseMultiSetTest.cpp
+++ b/unittests/ADT/SparseMultiSetTest.cpp
@@ -175,7 +175,7 @@ TEST(SparseMultiSetTest, Iterators) {
USet::iterator E = RangePair.second;
// Move the iterators around, going to end and coming back.
- EXPECT_EQ(3u, std::distance(B, E));
+ EXPECT_EQ(3, std::distance(B, E));
EXPECT_EQ(B, --(--(--E)));
EXPECT_EQ(++(++(++E)), Set.end());
EXPECT_EQ(B, --(--(--E)));