Index: webrtc/base/random_unittest.cc |
diff --git a/webrtc/base/random_unittest.cc b/webrtc/base/random_unittest.cc |
index 0d9041fa80f2a2d24bbb50a09387e4215dc541be..704e81fb2f5184f8a096eaa16c5d23ac6385ef01 100644 |
--- a/webrtc/base/random_unittest.cc |
+++ b/webrtc/base/random_unittest.cc |
@@ -23,7 +23,7 @@ namespace { |
// Computes the positive remainder of x/n. |
template <typename T> |
T fdiv_remainder(T x, T n) { |
- RTC_CHECK_GE(n, static_cast<T>(0)); |
+ RTC_CHECK_GE(n, 0); |
T remainder = x % n; |
if (remainder < 0) |
remainder += n; |