Commit 8bdf7c29 authored by alph@chromium.org's avatar alph@chromium.org

Fix compile on Windows

TBR=yurys@chromium.org,dslomov@chromium.org
LOG=N

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19454 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 77c278b9
...@@ -908,7 +908,8 @@ HeapEntry* V8HeapExplorer::AddEntry(Address address, ...@@ -908,7 +908,8 @@ HeapEntry* V8HeapExplorer::AddEntry(Address address,
HeapEntry::Type type, HeapEntry::Type type,
const char* name, const char* name,
size_t size) { size_t size) {
SnapshotObjectId object_id = heap_object_map_->FindOrAddEntry(address, size); SnapshotObjectId object_id = heap_object_map_->FindOrAddEntry(
address, static_cast<unsigned int>(size));
return snapshot_->AddEntry(type, name, object_id, size); return snapshot_->AddEntry(type, name, object_id, size);
} }
......
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