Index: runtime/vm/service.cc |
diff --git a/runtime/vm/service.cc b/runtime/vm/service.cc |
index 05109e1913d21a114368764b14d0d30d6b3ef579..0608a3a8e5a85f25aee5270711016f93bd24416f 100644 |
--- a/runtime/vm/service.cc |
+++ b/runtime/vm/service.cc |
@@ -1299,7 +1299,7 @@ static bool HandleScriptsEnumerate(Isolate* isolate, JSONStream* js) { |
JSONArray members(&jsobj, "members"); |
const GrowableObjectArray& libs = |
GrowableObjectArray::Handle(isolate->object_store()->libraries()); |
- int num_libs = libs.Length(); |
+ intptr_t num_libs = libs.Length(); |
Library &lib = Library::Handle(); |
Script& script = Script::Handle(); |
for (intptr_t i = 0; i < num_libs; i++) { |