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

Unified Diff: components/upload_list/upload_list_unittest.cc

Issue 1892143004: Remove disabling of C4267 in 64-bit gn builds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix long line Created 4 years, 8 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
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);
}
« no previous file with comments | « components/gcm_driver/crypto/gcm_message_cryptographer.cc ('k') | mash/quick_launch/quick_launch_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698