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

Unified Diff: tools/crashpad_database_util.cc

Issue 1416493006: Change file op |ssize_t|s to FileOperationResult (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: fixes Created 5 years, 2 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 | « compat/win/sys/types.h ('k') | util/file/file_io.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/crashpad_database_util.cc
diff --git a/tools/crashpad_database_util.cc b/tools/crashpad_database_util.cc
index e09f1dedabbd1a60cb5eb6182f5e97ea6c763cf0..433b47693b990e7888471b1e73564aff607c8555 100644
--- a/tools/crashpad_database_util.cc
+++ b/tools/crashpad_database_util.cc
@@ -566,7 +566,7 @@ int DatabaseUtilMain(int argc, char* argv[]) {
call_error_writing_crash_report(database.get(), new_report);
char buf[4096];
- ssize_t read_result;
+ FileOperationResult read_result;
do {
read_result = file_reader->Read(buf, sizeof(buf));
if (read_result < 0) {
« no previous file with comments | « compat/win/sys/types.h ('k') | util/file/file_io.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698