diff --git a/unittests/ADT/SparseMultiSetTest.cpp b/unittests/ADT/SparseMultiSetTest.cpp index d8999ca351b..032990e4bcd 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)));