Index: runtime/vm/timeline.cc |
diff --git a/runtime/vm/timeline.cc b/runtime/vm/timeline.cc |
index 3481b45d396a2bad2c5bf97c5537b914b3f32461..62a9b2289d1adcc8412f3852776735a782fe6154 100644 |
--- a/runtime/vm/timeline.cc |
+++ b/runtime/vm/timeline.cc |
@@ -421,7 +421,8 @@ void TimelineEvent::PrintJSON(JSONStream* stream) const { |
} |
if (isolate_id_ != ILLEGAL_PORT) { |
// If we have one, append the isolate id. |
- args.AddProperty("isolateNumber", isolate_id_); |
+ args.AddPropertyF("isolateNumber", "%" Pd64 "", |
+ static_cast<int64_t>(isolate_id_)); |
} |
} |
} |