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

Unified Diff: src/scopes.cc

Issue 1263043004: Fix build error (missing cast to void*) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scopes.cc
diff --git a/src/scopes.cc b/src/scopes.cc
index 02400493873773a35b87e68cffd820eebe329cd6..4c997d04e0bb49ceb6c425278b2457c5a1aded83 100644
--- a/src/scopes.cc
+++ b/src/scopes.cc
@@ -863,7 +863,7 @@ static void PrintVar(int indent, Variable* var) {
Indent(indent, Variable::Mode2String(var->mode()));
PrintF(" ");
if (var->raw_name()->IsEmpty())
- PrintF(".%p", var);
+ PrintF(".%p", reinterpret_cast<void*>(var));
else
PrintName(var->raw_name());
PrintF("; // ");
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698