Index: test/cctest/test-log.cc |
diff --git a/test/cctest/test-log.cc b/test/cctest/test-log.cc |
index c3856f2c43f968edcedc82583023eff3ce59f36e..b6bb2569dd867c624eaaaa9e6cc0a1d360c85638 100644 |
--- a/test/cctest/test-log.cc |
+++ b/test/cctest/test-log.cc |
@@ -376,7 +376,7 @@ TEST(LogCallbacks) { |
#endif |
i::EmbeddedVector<char, 100> ref_data; |
i::SNPrintF(ref_data, "code-creation,Callback,-2,%p,1,\"method1\"", |
- ObjMethod1_entry); |
+ static_cast<void*>(ObjMethod1_entry)); |
CHECK(StrNStr(log.start(), ref_data.start(), log.length())); |
log.Dispose(); |
@@ -429,7 +429,7 @@ TEST(LogAccessorCallbacks) { |
EmbeddedVector<char, 100> prop1_getter_record; |
i::SNPrintF(prop1_getter_record, |
"code-creation,Callback,-2,%p,1,\"get prop1\"", |
- Prop1Getter_entry); |
+ static_cast<void*>(Prop1Getter_entry)); |
CHECK(StrNStr(log.start(), prop1_getter_record.start(), log.length())); |
Address Prop1Setter_entry = reinterpret_cast<Address>(Prop1Setter); |
@@ -439,7 +439,7 @@ TEST(LogAccessorCallbacks) { |
EmbeddedVector<char, 100> prop1_setter_record; |
i::SNPrintF(prop1_setter_record, |
"code-creation,Callback,-2,%p,1,\"set prop1\"", |
- Prop1Setter_entry); |
+ static_cast<void*>(Prop1Setter_entry)); |
CHECK(StrNStr(log.start(), prop1_setter_record.start(), log.length())); |
Address Prop2Getter_entry = reinterpret_cast<Address>(Prop2Getter); |
@@ -449,7 +449,7 @@ TEST(LogAccessorCallbacks) { |
EmbeddedVector<char, 100> prop2_getter_record; |
i::SNPrintF(prop2_getter_record, |
"code-creation,Callback,-2,%p,1,\"get prop2\"", |
- Prop2Getter_entry); |
+ static_cast<void*>(Prop2Getter_entry)); |
CHECK(StrNStr(log.start(), prop2_getter_record.start(), log.length())); |
log.Dispose(); |
} |