Index: components/upload_list/upload_list_unittest.cc |
diff --git a/components/upload_list/upload_list_unittest.cc b/components/upload_list/upload_list_unittest.cc |
index 450199c33bc36ac3811e9194635f9d965df5951d..657f7db9e094e7c7ac300bb38ad76700416ad941 100644 |
--- a/components/upload_list/upload_list_unittest.cc |
+++ b/components/upload_list/upload_list_unittest.cc |
@@ -36,7 +36,8 @@ class UploadListTest : public testing::Test, |
} |
void WriteUploadLog(const std::string& log_data) { |
- ASSERT_GT(base::WriteFile(log_path(), log_data.c_str(), log_data.size()), |
+ ASSERT_GT(base::WriteFile(log_path(), log_data.c_str(), |
+ static_cast<int>(log_data.size())), |
0); |
} |