Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(404)

Unified Diff: src/runtime.cc

Issue 13140009: Win32 build fix (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698