From d70fb0dddc4235881d31f7ca35db3420426c7ea9 Mon Sep 17 00:00:00 2001 From: "yangguo@chromium.org" Date: Wed, 23 May 2012 07:13:10 +0000 Subject: [PATCH] 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 --- src/heap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.7.4