From 8bdf7c299116c303835c861b115acbd14733460e Mon Sep 17 00:00:00 2001 From: "alph@chromium.org" Date: Tue, 18 Feb 2014 14:21:09 +0000 Subject: [PATCH] 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 --- src/heap-snapshot-generator.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- 2.7.4