From b882786349eaf1b92b0b1c2875014f7830c96415 Mon Sep 17 00:00:00 2001 From: "alexeif@chromium.org" Date: Mon, 22 Oct 2012 18:25:10 +0000 Subject: [PATCH] Add a type conversion to fix Windows build after r12793 TBR=mstarzinger@chromium.org Review URL: https://chromiumcodereview.appspot.com/11227034 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12794 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/spaces.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spaces.cc b/src/spaces.cc index 6e0ddaffae..583b2ca512 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(area_start - base); chunk->ResetLiveBytes(); Bitmap::Clear(chunk); chunk->initialize_scan_on_scavenge(false);