From: mstarzinger@chromium.org Date: Thu, 21 Mar 2013 16:04:07 +0000 (+0000) Subject: Fix compilation failure on Win64 since r14020. X-Git-Tag: upstream/4.7.83~14776 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6db90efa6e28386725ae2cde59174c9f032d57e0;p=platform%2Fupstream%2Fv8.git Fix compilation failure on Win64 since r14020. R=danno@chromium.org Review URL: https://codereview.chromium.org/12989002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14035 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/heap.cc b/src/heap.cc index c57014f..949661d 100644 --- a/src/heap.cc +++ b/src/heap.cc @@ -3880,7 +3880,7 @@ MaybeObject* Heap::CopyCode(Code* code, Vector reloc_info) { Address new_addr = reinterpret_cast(result)->address(); // Copy header and instructions. - CopyBytes(new_addr, old_addr, relocation_offset); + CopyBytes(new_addr, old_addr, static_cast(relocation_offset)); Code* new_code = Code::cast(result); new_code->set_relocation_info(ByteArray::cast(reloc_info_array));