Commit f96f4391 authored by erikcorry's avatar erikcorry

Add missing cast to make MSVC happier.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11872 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 458e87fd
......@@ -1608,7 +1608,7 @@ void Isolate::PushToPartialSnapshotCache(Object* obj) {
int capacity = serialize_partial_snapshot_cache_capacity();
if (length >= capacity) {
int new_capacity = (capacity + 10) * 1.2;
int new_capacity = static_cast<int>((capacity + 10) * 1.2);
Object** new_array = new Object*[new_capacity];
for (int i = 0; i < length; i++) {
new_array[i] = serialize_partial_snapshot_cache()[i];
......
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