Revision: 14093
Author:   dslo...@chromium.org
Date:     Thu Mar 28 06:24:02 2013
Log:      Win32 build fix

TBR=rossb...@chromium.org

BUG=

Review URL: https://codereview.chromium.org/13140009
http://code.google.com/p/v8/source/detail?r=14093

Modified:
 /branches/bleeding_edge/src/runtime.cc

=======================================
--- /branches/bleeding_edge/src/runtime.cc      Thu Mar 28 06:07:41 2013
+++ /branches/bleeding_edge/src/runtime.cc      Thu Mar 28 06:24:02 2013
@@ -801,7 +801,8 @@

   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
v8-dev@googlegroups.com
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 v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to