Fix signed/unsigned comparison warning in a unit test. This was appearing on
authorJames Henderson <jh7370@my.bristol.ac.uk>
Fri, 7 Apr 2017 08:48:17 +0000 (08:48 +0000)
committerJames Henderson <jh7370@my.bristol.ac.uk>
Fri, 7 Apr 2017 08:48:17 +0000 (08:48 +0000)
lld-x86_64-darwin13.

llvm-svn: 299749

lld/unittests/CoreTests/ParallelTest.cpp

index f02db92..bd85070 100644 (file)
@@ -42,5 +42,5 @@ TEST(Parallel, parallel_for) {
   std::fill(expected, expected + 2049, 2);
   ASSERT_TRUE(std::equal(range, range + 2049, expected));
   // Check that we don't write past the end of the requested range.
-  ASSERT_EQ(range[2049], 1);
+  ASSERT_EQ(range[2049], 1u);
 }