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

Unified Diff: tools/gn/err.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 | « build/all.gyp ('k') | tools/gn/function_exec_script.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/err.cc
diff --git a/tools/gn/err.cc b/tools/gn/err.cc
index 79a629b0c901024712458fda9fbeedec0afb93d4..1ba1a628c2a98206012b74fd416060325e73f366 100644
--- a/tools/gn/err.cc
+++ b/tools/gn/err.cc
@@ -41,7 +41,7 @@ void FillRangeOnLine(const LocationRange& range, int line_number,
int end_char;
if (range.end().line_number() > line_number)
- end_char = line->size(); // Ending is non-inclusive.
+ end_char = static_cast<int>(line->size()); // Ending is non-inclusive.
else
end_char = range.end().char_offset() - 1;
« no previous file with comments | « build/all.gyp ('k') | tools/gn/function_exec_script.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698