Fix win64 compile failure.
authorricow@chromium.org <ricow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 7 Apr 2011 16:10:56 +0000 (16:10 +0000)
committerricow@chromium.org <ricow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 7 Apr 2011 16:10:56 +0000 (16:10 +0000)
Review URL: http://codereview.chromium.org/6810021

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7547 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/global-handles.h

index c080a44..3b6b7b3 100644 (file)
@@ -52,7 +52,7 @@ class ObjectGroup {
         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 @@ class ImplicitRefGroup {
         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;
   }