Index: client/crash_report_database_win.cc |
diff --git a/client/crash_report_database_win.cc b/client/crash_report_database_win.cc |
index 95358b47fadfb06662d89cfa5b590fe931116870..5eabdee01de0e1b4e57370ec9e1c2d837c2bd430 100644 |
--- a/client/crash_report_database_win.cc |
+++ b/client/crash_report_database_win.cc |
@@ -159,7 +159,7 @@ ReportDisk::ReportDisk(const MetadataFileReportRecord& record, |
base::UTF8ToUTF16(&string_table[record.file_path_index])); |
id = &string_table[record.id_index]; |
creation_time = record.creation_time; |
- uploaded = record.uploaded; |
+ uploaded = record.uploaded != 0; |
last_upload_attempt_time = record.last_upload_attempt_time; |
upload_attempts = record.upload_attempts; |
state = static_cast<ReportState>(record.state); |