From: alph@chromium.org Date: Tue, 18 Feb 2014 14:21:09 +0000 (+0000) Subject: Fix compile on Windows X-Git-Tag: upstream/4.7.83~10642 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8bdf7c299116c303835c861b115acbd14733460e;p=platform%2Fupstream%2Fv8.git 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 --- diff --git a/src/heap-snapshot-generator.cc b/src/heap-snapshot-generator.cc index 220eb62..b67aa0f 100644 --- a/src/heap-snapshot-generator.cc +++ b/src/heap-snapshot-generator.cc @@ -908,7 +908,8 @@ HeapEntry* V8HeapExplorer::AddEntry(Address address, HeapEntry::Type type, const char* name, size_t size) { - SnapshotObjectId object_id = heap_object_map_->FindOrAddEntry(address, size); + SnapshotObjectId object_id = heap_object_map_->FindOrAddEntry( + address, static_cast(size)); return snapshot_->AddEntry(type, name, object_id, size); }