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

Unified Diff: minidump/minidump_file_writer.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_file_writer.h ('k') | minidump/minidump_file_writer_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: minidump/minidump_file_writer.cc
diff --git a/minidump/minidump_file_writer.cc b/minidump/minidump_file_writer.cc
index ef45a660920c2963383c9565852c987727ad2f0b..d46b61ae01d628015c5c4167f561626be2a2ea0a 100644
--- a/minidump/minidump_file_writer.cc
+++ b/minidump/minidump_file_writer.cc
@@ -125,7 +125,7 @@ void MinidumpFileWriter::AddStream(
bool MinidumpFileWriter::WriteEverything(FileWriterInterface* file_writer) {
DCHECK_EQ(state(), kStateMutable);
- off_t start_offset = file_writer->Seek(0, SEEK_CUR);
+ FileOffset start_offset = file_writer->Seek(0, SEEK_CUR);
if (start_offset < 0) {
return false;
}
@@ -134,7 +134,7 @@ bool MinidumpFileWriter::WriteEverything(FileWriterInterface* file_writer) {
return false;
}
- off_t end_offset = file_writer->Seek(0, SEEK_CUR);
+ FileOffset end_offset = file_writer->Seek(0, SEEK_CUR);
if (end_offset < 0) {
return false;
}
« no previous file with comments | « minidump/minidump_file_writer.h ('k') | minidump/minidump_file_writer_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698