Index: src/spaces.cc |
diff --git a/src/spaces.cc b/src/spaces.cc |
index 6e0ddaffae7b0d19773f16f1f8442017b1fed412..583b2ca5124982cda6302c4b6b62213b34c2752a 100644 |
--- a/src/spaces.cc |
+++ b/src/spaces.cc |
@@ -448,7 +448,7 @@ MemoryChunk* MemoryChunk::Initialize(Heap* heap, |
chunk->slots_buffer_ = NULL; |
chunk->skip_list_ = NULL; |
chunk->write_barrier_counter_ = kWriteBarrierCounterGranularity; |
- chunk->high_water_mark_ = area_start - base; |
+ chunk->high_water_mark_ = static_cast<int>(area_start - base); |
chunk->ResetLiveBytes(); |
Bitmap::Clear(chunk); |
chunk->initialize_scan_on_scavenge(false); |