Reviewers: fschneider,

Description:
Fix the build on Mac.

Please review this at http://codereview.chromium.org/8354037/

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

Affected files:
  M     src/serialize.cc


Index: src/serialize.cc
===================================================================
--- src/serialize.cc    (revision 9725)
+++ src/serialize.cc    (working copy)
@@ -1158,7 +1158,8 @@

   for (Object** current = start; current < end; current++) {
     if (start == isolate->heap()->roots_array_start()) {
- root_index_wave_front_ = Max(root_index_wave_front_, current - start);
+      root_index_wave_front_ =
+ Max(root_index_wave_front_, static_cast<intptr_t>(current - start));
     }
     if (reinterpret_cast<Address>(current) ==
         isolate->heap()->store_buffer()->TopAddress()) {


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to