Index: webrtc/base/checks.h |
diff --git a/webrtc/base/checks.h b/webrtc/base/checks.h |
index 653ed322e71d5d3de79eddc299c329d4abc60df2..e165741b85a903e77ecc58d4c6f9ef681aafad8c 100644 |
--- a/webrtc/base/checks.h |
+++ b/webrtc/base/checks.h |
@@ -246,8 +246,7 @@ class FatalMessage { |
// remainder is zero. |
template <typename T> |
inline T CheckedDivExact(T a, T b) { |
- RTC_CHECK_EQ(a % b, static_cast<T>(0)) << a << " is not evenly divisible by " |
- << b; |
+ RTC_CHECK_EQ(a % b, 0) << a << " is not evenly divisible by " << b; |
return a / b; |
} |