Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(394)

Unified Diff: minidump/test/minidump_rva_list_test_util.cc

Issue 983103004: win: fixes for Windows x64 (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: mac Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: minidump/test/minidump_rva_list_test_util.cc
diff --git a/minidump/test/minidump_rva_list_test_util.cc b/minidump/test/minidump_rva_list_test_util.cc
index 48de0bffb4740f449409e9309927384da4394aab..ebaa8f07d94ebc945c6f2d4c3aaa1e9c46f0d662 100644
--- a/minidump/test/minidump_rva_list_test_util.cc
+++ b/minidump/test/minidump_rva_list_test_util.cc
@@ -26,7 +26,8 @@ namespace test {
const MinidumpRVAList* MinidumpRVAListAtStart(const std::string& file_contents,
size_t count) {
MINIDUMP_LOCATION_DESCRIPTOR location_descriptor;
- location_descriptor.DataSize = sizeof(MinidumpRVAList) + count * sizeof(RVA);
+ location_descriptor.DataSize =
+ static_cast<uint32_t>(sizeof(MinidumpRVAList) + count * sizeof(RVA));
location_descriptor.Rva = 0;
const MinidumpRVAList* list =
« no previous file with comments | « minidump/test/minidump_memory_writer_test_util.cc ('k') | snapshot/minidump/process_snapshot_minidump_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698