Revision: 8665
Author:   [email protected]
Date:     Fri Jul 15 10:01:54 2011
Log:      Fix win64 build.
http://code.google.com/p/v8/source/detail?r=8665

Modified:
 /branches/bleeding_edge/src/ast.h

=======================================
--- /branches/bleeding_edge/src/ast.h   Fri Jul 15 09:57:35 2011
+++ /branches/bleeding_edge/src/ast.h   Fri Jul 15 10:01:54 2011
@@ -138,7 +138,7 @@
   void* operator new(size_t size, Zone* zone) {
     Isolate* isolate = zone->isolate();
     isolate->set_ast_node_count(isolate->ast_node_count() + 1);
-    return zone->New(size);
+    return zone->New(static_cast<int>(size));
   }

   AstNode() {}

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

Reply via email to