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

Unified Diff: minidump/minidump_writer_util.cc

Issue 883773005: win: Work towards getting 'minidump' to compile (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@crash-report-db-win
Patch Set: more mucking around Created 5 years, 11 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
« no previous file with comments | « minidump/minidump_writable.h ('k') | minidump/test/minidump_file_writer_test_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: minidump/minidump_writer_util.cc
diff --git a/minidump/minidump_writer_util.cc b/minidump/minidump_writer_util.cc
index fcaa40420e3a4ac0d406d27fef243f7303d5468f..f8488b4dec9bb3b8fb2e9c2956f7d05294f49791 100644
--- a/minidump/minidump_writer_util.cc
+++ b/minidump/minidump_writer_util.cc
@@ -28,7 +28,7 @@ void MinidumpWriterUtil::AssignTimeT(uint32_t* destination, time_t source) {
LOG(WARNING) << "timestamp " << source << " out of range";
}
- *destination = source;
+ *destination = static_cast<uint32_t>(source);
}
// static
« no previous file with comments | « minidump/minidump_writable.h ('k') | minidump/test/minidump_file_writer_test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698