From: dslomov@chromium.org Date: Tue, 2 Apr 2013 15:03:04 +0000 (+0000) Subject: Fix Win64 build X-Git-Tag: upstream/4.7.83~14722 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7e90cfb10d6025c8e3cb56a09a477a283a138e7d;p=platform%2Fupstream%2Fv8.git Fix Win64 build BUG= Review URL: https://codereview.chromium.org/13463004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14115 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/runtime.cc b/src/runtime.cc index 5fe1f9dc5..dcc76181f 100644 --- a/src/runtime.cc +++ b/src/runtime.cc @@ -851,7 +851,8 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_ArrayBufferInitialize) { Object* byte_length; { MaybeObject* maybe_byte_length = - isolate->heap()->NumberFromDouble(allocated_length); + isolate->heap()->NumberFromDouble( + static_cast(allocated_length)); if (!maybe_byte_length->ToObject(&byte_length)) return maybe_byte_length; } CHECK(byte_length->IsSmi() || byte_length->IsHeapNumber());