Revision: 6114
Author: [email protected]
Date: Wed Dec 22 08:07:59 2010
Log: Fix win64 build.

Review URL: http://codereview.chromium.org/6050005
http://code.google.com/p/v8/source/detail?r=6114

Modified:
 /branches/bleeding_edge/src/heap.cc

=======================================
--- /branches/bleeding_edge/src/heap.cc Wed Dec 22 03:31:18 2010
+++ /branches/bleeding_edge/src/heap.cc Wed Dec 22 08:07:59 2010
@@ -2552,7 +2552,7 @@
   // ASCII characters.  If yes, we use a different string map.
   static const size_t kAsciiCheckLengthLimit = 32;
   bool is_ascii = length <= kAsciiCheckLengthLimit &&
-      String::IsAscii(resource->data(), length);
+      String::IsAscii(resource->data(), static_cast<int>(length));
   Map* map = is_ascii ?
Heap::external_string_with_ascii_data_map() : Heap::external_string_map();
   Object* result;

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

Reply via email to