Index: src/global-handles.cc |
diff --git a/src/global-handles.cc b/src/global-handles.cc |
index 82b4fcd0626228608d3004ff1f6b03b4bfe9d041..f1790b62497166c17103134b401f0352993c40c8 100644 |
--- a/src/global-handles.cc |
+++ b/src/global-handles.cc |
@@ -879,7 +879,7 @@ void ObjectGroupsTracer::PrintObject(Object* object) { |
PrintInternalFields(js_object); |
PrintF(" ] }\n"); |
} else { |
- PrintF("object of unexpected type: %p\n", object); |
+ PrintF("object of unexpected type: %p\n", static_cast<void*>(object)); |
} |
} |
@@ -907,7 +907,7 @@ void ObjectGroupsTracer::PrintInternalFields(JSObject* js_object) { |
if (i != 0) { |
PrintF(", "); |
} |
- PrintF("%p", js_object->GetInternalField(i)); |
+ PrintF("%p", static_cast<void*>(js_object->GetInternalField(i))); |
} |
} |