Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(219)

Unified Diff: src/global-handles.cc

Issue 2001073002: [build] Fix a clang warning (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/disassembler.cc ('k') | src/heap/mark-compact.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)));
}
}
« no previous file with comments | « src/disassembler.cc ('k') | src/heap/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698