Revision: 7547
Author:   [email protected]
Date:     Thu Apr  7 09:10:56 2011
Log:      Fix win64 compile failure.
Review URL: http://codereview.chromium.org/6810021
http://code.google.com/p/v8/source/detail?r=7547

Modified:
 /branches/bleeding_edge/src/global-handles.h

=======================================
--- /branches/bleeding_edge/src/global-handles.h        Wed Apr  6 12:17:54 2011
+++ /branches/bleeding_edge/src/global-handles.h        Thu Apr  7 09:10:56 2011
@@ -52,7 +52,7 @@
         malloc(OFFSET_OF(ObjectGroup, objects_[length])));
     group->length_ = length;
     group->info_ = info;
-    CopyWords(group->objects_, handles, length);
+    CopyWords(group->objects_, handles, static_cast<int>(length));
     return group;
   }

@@ -85,7 +85,7 @@
         malloc(OFFSET_OF(ImplicitRefGroup, children_[length])));
     group->parent_ = parent;
     group->length_ = length;
-    CopyWords(group->children_, children, length);
+    CopyWords(group->children_, children, static_cast<int>(length));
     return group;
   }

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

Reply via email to