Fix another instance of the previous build issue
authorrossberg <rossberg@chromium.org>
Tue, 4 Aug 2015 15:50:36 +0000 (08:50 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 4 Aug 2015 15:52:36 +0000 (15:52 +0000)
TBR=yangguo@chromium.org
BUG=

Review URL: https://codereview.chromium.org/1264233005

Cr-Commit-Position: refs/heads/master@{#30006}

src/scopes.cc

index 4c997d0..319aca5 100644 (file)
@@ -913,7 +913,7 @@ void Scope::Print(int n) {
       if (i > 0) PrintF(", ");
       const AstRawString* name = params_[i]->raw_name();
       if (name->IsEmpty())
-        PrintF(".%p", params_[i]);
+        PrintF(".%p", reinterpret_cast<void*>(params_[i]));
       else
         PrintName(name);
     }