Index: client/crash_report_database_win.cc |
diff --git a/client/crash_report_database_win.cc b/client/crash_report_database_win.cc |
index 630adb1036574dd6762d5987c282faab03357d10..6e5f48385bbdca4e8167d06c019c153197ecba1c 100644 |
--- a/client/crash_report_database_win.cc |
+++ b/client/crash_report_database_win.cc |
@@ -390,7 +390,7 @@ void Metadata::Read() { |
base::CheckedNumeric<uint32_t> records_size = |
base::CheckedNumeric<uint32_t>(header.num_records) * |
- sizeof(MetadataFileReportRecord); |
+ static_cast<uint32_t>(sizeof(MetadataFileReportRecord)); |
if (!records_size.IsValid()) { |
LOG(ERROR) << "record size out of range"; |
return; |