Reviewers: Dmitry Lomov (chromium),

Description:
Fix compilation failure on Win64 since r14285.

[email protected]

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

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 e972c45bcf0826be979ffbbadc0f7e94bd7738d8..4b86d51212f1b8f56efeaced259a7e9c1e9c7599 100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -829,7 +829,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_TypedArrayInitialize) {
       *isolate->factory()->NewNumber(static_cast<double>(length)));
   Handle<ExternalArray> elements =
       isolate->factory()->NewExternalArray(
-          length, arrayType,
+          static_cast<int>(length), arrayType,
           static_cast<uint8_t*>(buffer->backing_store()) + byte_offset);
   Handle<Map> map =
       isolate->factory()->GetElementsTransitionMap(holder, elementsKind);


--
--
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