Revision: 11269 Author: [email protected] Date: Wed Apr 11 03:18:42 2012 Log: Fix Windows 64 bit compile. Review URL: https://chromiumcodereview.appspot.com/10034014 http://code.google.com/p/v8/source/detail?r=11269
Modified: /branches/bleeding_edge/test/cctest/test-api.cc ======================================= --- /branches/bleeding_edge/test/cctest/test-api.cc Wed Apr 11 02:55:20 2012 +++ /branches/bleeding_edge/test/cctest/test-api.cc Wed Apr 11 03:18:42 2012 @@ -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
