Revision: 9941 Author: [email protected] Date: Wed Nov 9 07:40:08 2011 Log: Fix Win64 compilation problems introduced by r9932.
[email protected] Review URL: http://codereview.chromium.org/8505019 http://code.google.com/p/v8/source/detail?r=9941 Modified: /branches/bleeding_edge/src/heap.cc ======================================= --- /branches/bleeding_edge/src/heap.cc Wed Nov 9 05:48:43 2011 +++ /branches/bleeding_edge/src/heap.cc Wed Nov 9 07:40:08 2011 @@ -1011,12 +1011,13 @@ intptr_t* head_end = Min(front_, reinterpret_cast<intptr_t*>(p->body_limit())); - int entries_count = (head_end - head_start) / kEntrySizeInWords; + int entries_count = + static_cast<int>(head_end - head_start) / kEntrySizeInWords; emergency_stack_ = new List<Entry>(2 * entries_count); while (head_start != head_end) { - int size = *(head_start++); + int size = static_cast<int>(*(head_start++)); HeapObject* obj = reinterpret_cast<HeapObject*>(*(head_start++)); emergency_stack_->Add(Entry(obj, size)); } -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
