Reviewers: Michael Starzinger,

Description:
Unbreak Win64 build.

Please review this at https://codereview.chromium.org/13976013/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/runtime.cc


Index: src/runtime.cc
diff --git a/src/runtime.cc b/src/runtime.cc
index b5295b808b8623b7b10fa15d32ee3458cab6239a..7e7d6d5d585759f01f74b5f9cfef0b5f979669d8 100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -825,7 +825,8 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_TypedArrayInitialize) {
   ASSERT(byte_length % elementSize == 0);
   size_t length = byte_length / elementSize;

-  Handle<Object> length_obj = isolate->factory()->NewNumber(length);
+  Handle<Object> length_obj =
+      isolate->factory()->NewNumber(static_cast<double>(length));
   holder->set_length(*length_obj);
   Handle<ExternalArray> elements =
       isolate->factory()->NewExternalArray(


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to