projects
/
platform
/
upstream
/
v8.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
186841f
)
Fix build error (missing cast to void*)
author
rossberg
<rossberg@chromium.org>
Tue, 4 Aug 2015 14:23:08 +0000
(07:23 -0700)
committer
Commit bot
<commit-bot@chromium.org>
Tue, 4 Aug 2015 14:24:38 +0000
(14:24 +0000)
TBR=yangguo@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
1263043004
Cr-Commit-Position: refs/heads/master@{#30001}
src/scopes.cc
patch
|
blob
|
history
diff --git
a/src/scopes.cc
b/src/scopes.cc
index
0240049
..
4c997d0
100644
(file)
--- 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("; // ");