Reviewers: Yang,

Description:
Fix build error (missing cast to void*)

[email protected]
BUG=

Please review this at https://codereview.chromium.org/1263043004/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+1, -1 lines):
  M src/scopes.cc


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(";  // ");


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to