From e43ea6895152a4addf56df5ebc9bbcf08e00f217 Mon Sep 17 00:00:00 2001 From: "dslomov@chromium.org" Date: Thu, 28 Mar 2013 13:24:02 +0000 Subject: [PATCH] Win32 build fix TBR=rossberg@chromium.org BUG= Review URL: https://codereview.chromium.org/13140009 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14093 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/runtime.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/runtime.cc b/src/runtime.cc index 2e124be..373fab9 100644 --- a/src/runtime.cc +++ b/src/runtime.cc @@ -801,7 +801,8 @@ static void ArrayBufferWeakCallback(v8::Isolate* external_isolate, size_t allocated_length = ArrayBufferAllocatedLength( isolate, JSArrayBuffer::cast(*internal_object)); - isolate->heap()->AdjustAmountOfExternalAllocatedMemory(-allocated_length); + isolate->heap()->AdjustAmountOfExternalAllocatedMemory( + -static_cast(allocated_length)); if (data != NULL) free(data); object.Dispose(external_isolate); -- 2.7.4