From: yangguo@chromium.org Date: Wed, 23 May 2012 07:13:10 +0000 (+0000) Subject: Fix Win64 build. X-Git-Tag: upstream/4.7.83~16676 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d70fb0dddc4235881d31f7ca35db3420426c7ea9;p=platform%2Fupstream%2Fv8.git Fix Win64 build. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10414073 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11627 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/heap.cc b/src/heap.cc index 8c39c91..47b259e 100644 --- a/src/heap.cc +++ b/src/heap.cc @@ -3326,7 +3326,7 @@ MaybeObject* Heap::AllocateExternalStringFromAscii( return Failure::OutOfMemoryException(); } - ASSERT(String::IsAscii(resource->data(), length)); + ASSERT(String::IsAscii(resource->data(), static_cast(length))); Map* map = external_ascii_string_map(); Object* result;