Reviewers: Jakob,

Description:
Fix Windows 64 bit compile.

Please review this at https://chromiumcodereview.appspot.com/10034014/

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

Affected files:
  M     test/cctest/test-api.cc


Index: test/cctest/test-api.cc
===================================================================
--- test/cctest/test-api.cc     (revision 11268)
+++ test/cctest/test-api.cc     (working copy)
@@ -10871,7 +10871,8 @@
   CHECK(!env.IsEmpty());
   const intptr_t kSize = 1024*1024;
   CHECK_EQ(v8::V8::AdjustAmountOfExternalAllocatedMemory(kSize), kSize);
-  CHECK_EQ(v8::V8::AdjustAmountOfExternalAllocatedMemory(-kSize), 0l);
+  CHECK_EQ(v8::V8::AdjustAmountOfExternalAllocatedMemory(-kSize),
+           static_cast<intptr_t>(0));
 }




--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to