diff options
author | James Henderson <jh7370@my.bristol.ac.uk> | 2017-04-07 08:48:17 +0000 |
---|---|---|
committer | James Henderson <jh7370@my.bristol.ac.uk> | 2017-04-07 08:48:17 +0000 |
commit | 96785f2bb0969619512023b52e7d273cb95a030c (patch) | |
tree | fdeb0cb2b7675aff9227b25727c55e4f4ef292a8 /lld/unittests | |
parent | 629f103ac3b479c5ff8905967de4fa2a91a434fd (diff) |
Fix signed/unsigned comparison warning in a unit test. This was appearing on
lld-x86_64-darwin13.
Diffstat (limited to 'lld/unittests')
-rw-r--r-- | lld/unittests/CoreTests/ParallelTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/unittests/CoreTests/ParallelTest.cpp b/lld/unittests/CoreTests/ParallelTest.cpp index f02db92c984..bd8507026a0 100644 --- a/lld/unittests/CoreTests/ParallelTest.cpp +++ b/lld/unittests/CoreTests/ParallelTest.cpp @@ -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); } |