Index: client/capture_context_mac_test.cc |
diff --git a/client/capture_context_mac_test.cc b/client/capture_context_mac_test.cc |
index 6d5967d5f470d14e9270aeab56e59096b97ac50e..660776afe4c933b20d84dd2c4cc2c82a6dde667b 100644 |
--- a/client/capture_context_mac_test.cc |
+++ b/client/capture_context_mac_test.cc |
@@ -19,6 +19,7 @@ |
#include <algorithm> |
+#include "base/basictypes.h" |
#include "build/build_config.h" |
#include "gtest/gtest.h" |
@@ -34,10 +35,10 @@ namespace { |
void SanityCheckContext(NativeCPUContext* context) { |
#if defined(ARCH_CPU_X86) |
ASSERT_EQ(x86_THREAD_STATE32, context->tsh.flavor); |
- ASSERT_EQ(static_cast<int>(x86_THREAD_STATE32_COUNT), context->tsh.count); |
+ ASSERT_EQ(implicit_cast<int>(x86_THREAD_STATE32_COUNT), context->tsh.count); |
#elif defined(ARCH_CPU_X86_64) |
ASSERT_EQ(x86_THREAD_STATE64, context->tsh.flavor); |
- ASSERT_EQ(static_cast<int>(x86_THREAD_STATE64_COUNT), context->tsh.count); |
+ ASSERT_EQ(implicit_cast<int>(x86_THREAD_STATE64_COUNT), context->tsh.count); |
#endif |
#if defined(ARCH_CPU_X86_FAMILY) |