| Index: src/handles.cc
|
| diff --git a/src/handles.cc b/src/handles.cc
|
| index 3d93e70b1405d8dc86523da7b449324b4bf7cc33..f0c67b371c0f52e87cd7e50c51ac867b6bd8262e 100644
|
| --- a/src/handles.cc
|
| +++ b/src/handles.cc
|
| @@ -50,8 +50,8 @@ v8::ImplementationUtilities::HandleScopeData HandleScope::current_ =
|
| int HandleScope::NumberOfHandles() {
|
| int n = HandleScopeImplementer::instance()->blocks()->length();
|
| if (n == 0) return 0;
|
| - return ((n - 1) * kHandleBlockSize) +
|
| - (current_.next - HandleScopeImplementer::instance()->blocks()->last());
|
| + return ((n - 1) * kHandleBlockSize) + static_cast<int>(
|
| + (current_.next - HandleScopeImplementer::instance()->blocks()->last()));
|
| }
|
|
|
|
|
|
|