Reviewers: danno, Description: Add missing cast to make MSVC happier.
Please review this at http://codereview.chromium.org/10592003/ SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/isolate.cc Index: src/isolate.cc =================================================================== --- src/isolate.cc (revision 11871) +++ src/isolate.cc (working copy) @@ -1608,7 +1608,7 @@ 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]; -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
