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

Unified Diff: tools/gn/generate_test_gn_data.cc

Issue 644433003: Type conversion fixes, tools/ edition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « tools/gn/filesystem_utils.cc ('k') | tools/gn/trace.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/generate_test_gn_data.cc
diff --git a/tools/gn/generate_test_gn_data.cc b/tools/gn/generate_test_gn_data.cc
index 6489df40a8bc0477815046796fe0db7547ee32f1..05197f748d201f742db208151d5dd22883bdc785 100644
--- a/tools/gn/generate_test_gn_data.cc
+++ b/tools/gn/generate_test_gn_data.cc
@@ -38,7 +38,7 @@ base::FilePath RepoPathToPathName(const std::vector<int>& repo_path) {
std::string TargetIndexToLetter(int target_index) {
char ret[2];
- ret[0] = 'a' + target_index;
+ ret[0] = static_cast<char>('a' + target_index);
ret[1] = 0;
return ret;
}
« no previous file with comments | « tools/gn/filesystem_utils.cc ('k') | tools/gn/trace.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698