Index: src/messages.cc |
diff --git a/src/messages.cc b/src/messages.cc |
index fd6dae86eced868bb313264367aff4e8746cf3ca..c39f4e684800b7f3266d3202dd89c95f93d888c4 100644 |
--- a/src/messages.cc |
+++ b/src/messages.cc |
@@ -185,7 +185,7 @@ MaybeHandle<String> MessageTemplate::FormatMessage(int template_index, |
Isolate* isolate = arg0->GetIsolate(); |
IncrementalStringBuilder builder(isolate); |
- int i = 0; |
+ unsigned int i = 0; |
Sven Panne
2015/04/16 10:05:58
Actually, this should be size_t...
|
Handle<String> args[] = {arg0, arg1, arg2}; |
for (const char* c = template_string; *c != '\0'; c++) { |
if (*c == '%') { |