Revision: 14035
Author:   [email protected]
Date:     Thu Mar 21 09:04:07 2013
Log:      Fix compilation failure on Win64 since r14020.

[email protected]

Review URL: https://codereview.chromium.org/12989002
http://code.google.com/p/v8/source/detail?r=14035

Modified:
 /branches/bleeding_edge/src/heap.cc

=======================================
--- /branches/bleeding_edge/src/heap.cc Thu Mar 21 07:42:17 2013
+++ /branches/bleeding_edge/src/heap.cc Thu Mar 21 09:04:07 2013
@@ -3880,7 +3880,7 @@
   Address new_addr = reinterpret_cast<HeapObject*>(result)->address();

   // Copy header and instructions.
-  CopyBytes(new_addr, old_addr, relocation_offset);
+  CopyBytes(new_addr, old_addr, static_cast<int>(relocation_offset));

   Code* new_code = Code::cast(result);
   new_code->set_relocation_info(ByteArray::cast(reloc_info_array));

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