diff options
Diffstat (limited to 'llvm/unittests/Support/ProcessTest.cpp')
| -rw-r--r-- | llvm/unittests/Support/ProcessTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Support/ProcessTest.cpp b/llvm/unittests/Support/ProcessTest.cpp index 19694e5..f406072 100644 --- a/llvm/unittests/Support/ProcessTest.cpp +++ b/llvm/unittests/Support/ProcessTest.cpp @@ -43,7 +43,7 @@ TEST(ProcessTest, GetRandomNumberTest) { const unsigned r1 = Process::GetRandomNumber(); const unsigned r2 = Process::GetRandomNumber(); // It should be extremely unlikely that both r1 and r2 are 0. - EXPECT_NE((r1 | r2), 0); + EXPECT_NE((r1 | r2), 0u); } #ifdef _MSC_VER |
