Index: src/base/atomic-utils.h |
diff --git a/src/base/atomic-utils.h b/src/base/atomic-utils.h |
index fd9b1b502d573ea62a66c78f3e5daa7c2a27e2f8..f40853c587b09a0dd3c37473e7963ef676d17db6 100644 |
--- a/src/base/atomic-utils.h |
+++ b/src/base/atomic-utils.h |
@@ -127,7 +127,7 @@ class AtomicValue { |
} |
V8_INLINE void SetBits(T bits, T mask) { |
- DCHECK_EQ(bits & ~mask, 0); |
+ DCHECK_EQ(bits & ~mask, static_cast<T>(0)); |
T old_value; |
T new_value; |
do { |