Index: minidump/test/minidump_writable_test_util.cc |
diff --git a/minidump/test/minidump_writable_test_util.cc b/minidump/test/minidump_writable_test_util.cc |
index f1389908dc623399e07e51007ba174c97d7de07c..d13da7cb8ce01c6569c3619afc95f372b663f6d0 100644 |
--- a/minidump/test/minidump_writable_test_util.cc |
+++ b/minidump/test/minidump_writable_test_util.cc |
@@ -16,6 +16,7 @@ |
#include <string> |
+#include "base/basictypes.h" |
#include "base/strings/string16.h" |
#include "gtest/gtest.h" |
@@ -75,7 +76,8 @@ const IMAGE_DEBUG_MISC* MinidumpWritableAtLocationDescriptor<IMAGE_DEBUG_MISC>( |
} |
if (misc->DataType != IMAGE_DEBUG_MISC_EXENAME) { |
- EXPECT_EQ(static_cast<uint32_t>(IMAGE_DEBUG_MISC_EXENAME), misc->DataType); |
+ EXPECT_EQ(implicit_cast<uint32_t>(IMAGE_DEBUG_MISC_EXENAME), |
+ misc->DataType); |
return nullptr; |
} |
@@ -123,11 +125,11 @@ const MINIDUMP_HEADER* MinidumpWritableAtLocationDescriptor<MINIDUMP_HEADER>( |
} |
if (header->Signature != MINIDUMP_SIGNATURE) { |
- EXPECT_EQ(static_cast<uint32_t>(MINIDUMP_SIGNATURE), header->Signature); |
+ EXPECT_EQ(implicit_cast<uint32_t>(MINIDUMP_SIGNATURE), header->Signature); |
return nullptr; |
} |
if (header->Version != MINIDUMP_VERSION) { |
- EXPECT_EQ(static_cast<uint32_t>(MINIDUMP_VERSION), header->Version); |
+ EXPECT_EQ(implicit_cast<uint32_t>(MINIDUMP_VERSION), header->Version); |
return nullptr; |
} |