Fix win64 compile failure.

Review URL: http://codereview.chromium.org/6810021

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7547 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
ricow@chromium.org 2011-04-07 16:10:56 +00:00
parent 02bf484bb5
commit cf3789a6e1

View 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;
}