Reviewers: rossberg,

Message:
Committed patchset #1 manually as r14093 (presubmit successful).

Description:
Win32 build fix

[email protected]

BUG=

Committed: https://code.google.com/p/v8/source/detail?r=14093

Please review this at https://codereview.chromium.org/13140009/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/runtime.cc


Index: src/runtime.cc
diff --git a/src/runtime.cc b/src/runtime.cc
index 2e124beaebd63d4be7caf9a9b3ef7f20e18ec50e..373fab924473be686d89a747a7102d773b768e4b 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<intptr_t>(allocated_length));
   if (data != NULL)
     free(data);
   object.Dispose(external_isolate);


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to