From 479e0c034736f7aab301daab190f5d8a58d20d7d Mon Sep 17 00:00:00 2001 From: rossberg Date: Tue, 4 Aug 2015 07:23:08 -0700 Subject: [PATCH] Fix build error (missing cast to void*) TBR=yangguo@chromium.org BUG= Review URL: https://codereview.chromium.org/1263043004 Cr-Commit-Position: refs/heads/master@{#30001} --- src/scopes.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scopes.cc b/src/scopes.cc index 0240049..4c997d0 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(var)); else PrintName(var->raw_name()); PrintF("; // "); -- 2.7.4