Reviewers: Jakob,

Message:
PTAQL.

Description:
Fix Win64 build.


BUG=
TEST=


Please review this at http://codereview.chromium.org/10414073/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/heap.cc


Index: src/heap.cc
diff --git a/src/heap.cc b/src/heap.cc
index 8c39c9180c46f6fcbc6cfd3f85d82244db38b414..47b259ed9b73849d318818833e151d7e1e68aa3b 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<int>(length)));

   Map* map = external_ascii_string_map();
   Object* result;


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to