aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)));