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 |