summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
Diffstat (limited to 'unittests')
-rw-r--r--unittests/Support/ProcessTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/Support/ProcessTest.cpp b/unittests/Support/ProcessTest.cpp
index 19694e55d0..f406072096 100644
--- a/unittests/Support/ProcessTest.cpp
+++ b/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