Commit eb131775 authored by whesse@chromium.org's avatar whesse@chromium.org

Fix x64 compilation error in r4673.

Review URL: http://codereview.chromium.org/2129010

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4674 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 3d7ce8ac
......@@ -545,7 +545,7 @@ CpuProfile* CpuProfilesCollection::GetProfile(int security_token_id,
false);
int index;
if (entry != NULL) {
index = reinterpret_cast<int>(entry->value);
index = static_cast<int>(reinterpret_cast<intptr_t>(entry->value));
} else {
return NULL;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment