Commit cf3789a6 authored by ricow@chromium.org's avatar ricow@chromium.org

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
parent 02bf484b
...@@ -52,7 +52,7 @@ class ObjectGroup { ...@@ -52,7 +52,7 @@ class ObjectGroup {
malloc(OFFSET_OF(ObjectGroup, objects_[length]))); malloc(OFFSET_OF(ObjectGroup, objects_[length])));
group->length_ = length; group->length_ = length;
group->info_ = info; group->info_ = info;
CopyWords(group->objects_, handles, length); CopyWords(group->objects_, handles, static_cast<int>(length));
return group; return group;
} }
...@@ -85,7 +85,7 @@ class ImplicitRefGroup { ...@@ -85,7 +85,7 @@ class ImplicitRefGroup {
malloc(OFFSET_OF(ImplicitRefGroup, children_[length]))); malloc(OFFSET_OF(ImplicitRefGroup, children_[length])));
group->parent_ = parent; group->parent_ = parent;
group->length_ = length; group->length_ = length;
CopyWords(group->children_, children, length); CopyWords(group->children_, children, static_cast<int>(length));
return group; return group;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment