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

Unified Diff: tools/gn/standard_out.cc

Issue 25153002: Enable compiling GN by default. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set:  Created 7 years, 3 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/operators.cc ('k') | tools/gn/string_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/standard_out.cc
diff --git a/tools/gn/standard_out.cc b/tools/gn/standard_out.cc
index 0dfa96d3df66958996422306ee3049a138ae21ba..ac15435a12185f108d23bfa742741e60791fbbba 100644
--- a/tools/gn/standard_out.cc
+++ b/tools/gn/standard_out.cc
@@ -74,7 +74,8 @@ void OutputString(const std::string& output, TextDecoration dec) {
}
DWORD written = 0;
- ::WriteFile(hstdout, output.c_str(), output.size(), &written, NULL);
+ ::WriteFile(hstdout, output.c_str(), static_cast<DWORD>(output.size()),
+ &written, NULL);
if (is_console)
::SetConsoleTextAttribute(hstdout, default_attributes);
« no previous file with comments | « tools/gn/operators.cc ('k') | tools/gn/string_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698