Commit 2e0cf578 authored by yangguo's avatar yangguo Committed by Commit bot

Fix signed/unsigned compare in messages.cc

R=machenbach@chromium.org
NOTREECHECKS=true
NOTRY=true

Review URL: https://codereview.chromium.org/1089363002

Cr-Commit-Position: refs/heads/master@{#27865}
parent a5ac0290
...@@ -185,7 +185,7 @@ MaybeHandle<String> MessageTemplate::FormatMessage(int template_index, ...@@ -185,7 +185,7 @@ MaybeHandle<String> MessageTemplate::FormatMessage(int template_index,
Isolate* isolate = arg0->GetIsolate(); Isolate* isolate = arg0->GetIsolate();
IncrementalStringBuilder builder(isolate); IncrementalStringBuilder builder(isolate);
int i = 0; unsigned int i = 0;
Handle<String> args[] = {arg0, arg1, arg2}; Handle<String> args[] = {arg0, arg1, arg2};
for (const char* c = template_string; *c != '\0'; c++) { for (const char* c = template_string; *c != '\0'; c++) {
if (*c == '%') { if (*c == '%') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment