Index: src/types.cc |
diff --git a/src/types.cc b/src/types.cc |
index e88f9f67c59aa5087894b124cf1e12fbc8be5022..ff96b5a0d53fee65e5e9e6eeca2623d4eab372ff 100644 |
--- a/src/types.cc |
+++ b/src/types.cc |
@@ -515,9 +515,9 @@ void Type::TypePrint(FILE* out) { |
} |
PrintF(out, "}"); |
} else if (is_constant()) { |
- PrintF(out, "Constant(%p)", reinterpret_cast<void*>(*as_constant())); |
+ PrintF(out, "Constant(%p)", static_cast<void*>(*as_constant())); |
} else if (is_class()) { |
- PrintF(out, "Class(%p)", reinterpret_cast<void*>(*as_class())); |
+ PrintF(out, "Class(%p)", static_cast<void*>(*as_class())); |
} else if (is_union()) { |
PrintF(out, "{"); |
Handle<Unioned> unioned = as_union(); |