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()) { |