Index: test/unittests/base/atomic-utils-unittest.cc |
diff --git a/test/unittests/base/atomic-utils-unittest.cc b/test/unittests/base/atomic-utils-unittest.cc |
index ad73c4db8a18f34a78017c1221afc201e258524e..48711a2f98ed1bf57eba2eb3f950039e33d60633 100644 |
--- a/test/unittests/base/atomic-utils-unittest.cc |
+++ b/test/unittests/base/atomic-utils-unittest.cc |
@@ -16,7 +16,7 @@ TEST(AtomicNumber, Constructor) { |
AtomicNumber<size_t> zero_size_t; |
AtomicNumber<intptr_t> zero_intptr_t; |
EXPECT_EQ(0, zero_int.Value()); |
- EXPECT_EQ(0U, zero_size_t.Value()); |
+ EXPECT_EQ(0u, zero_size_t.Value()); |
EXPECT_EQ(0, zero_intptr_t.Value()); |
} |
@@ -27,7 +27,7 @@ TEST(AtomicNumber, Value) { |
AtomicNumber<int> b(-1); |
EXPECT_EQ(-1, b.Value()); |
AtomicNumber<size_t> c(1); |
- EXPECT_EQ(1U, c.Value()); |
+ EXPECT_EQ(1u, c.Value()); |
AtomicNumber<size_t> d(static_cast<size_t>(-1)); |
EXPECT_EQ(std::numeric_limits<size_t>::max(), d.Value()); |
} |
@@ -53,7 +53,7 @@ TEST(AtomicNumber, Increment) { |
// Should work as decrement as well. |
AtomicNumber<size_t> c(1); |
c.Increment(-1); |
- EXPECT_EQ(0U, c.Value()); |
+ EXPECT_EQ(0u, c.Value()); |
c.Increment(-1); |
EXPECT_EQ(std::numeric_limits<size_t>::max(), c.Value()); |
} |
@@ -61,7 +61,7 @@ TEST(AtomicNumber, Increment) { |
TEST(AtomicNumber, Decrement) { |
AtomicNumber<size_t> a(std::numeric_limits<size_t>::max()); |
a.Increment(1); |
- EXPECT_EQ(0, a.Value()); |
+ EXPECT_EQ(0u, a.Value()); |
a.Decrement(1); |
EXPECT_EQ(std::numeric_limits<size_t>::max(), a.Value()); |
} |