Index: minidump/minidump_module_crashpad_info_writer_test.cc |
diff --git a/minidump/minidump_module_crashpad_info_writer_test.cc b/minidump/minidump_module_crashpad_info_writer_test.cc |
index f458b6a6b78021deceea88a44b5dac49e8264b81..458913fe118e345dd7ebf2bcb3b621d1f86b7a07 100644 |
--- a/minidump/minidump_module_crashpad_info_writer_test.cc |
+++ b/minidump/minidump_module_crashpad_info_writer_test.cc |
@@ -34,8 +34,9 @@ const MinidumpModuleCrashpadInfoList* MinidumpModuleCrashpadInfoListAtStart( |
const std::string& file_contents, |
size_t count) { |
MINIDUMP_LOCATION_DESCRIPTOR location_descriptor; |
- location_descriptor.DataSize = sizeof(MinidumpModuleCrashpadInfoList) + |
- count * sizeof(MinidumpModuleCrashpadInfoLink); |
+ location_descriptor.DataSize = |
+ static_cast<uint32_t>(sizeof(MinidumpModuleCrashpadInfoList) + |
+ count * sizeof(MinidumpModuleCrashpadInfoLink)); |
location_descriptor.Rva = 0; |
const MinidumpModuleCrashpadInfoList* list = |