Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 675ac7fd7e9a1806c79e5c7b3367a9c2c5bd8c5a..9311f2221370231ca41e1edf089798e144a31071 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -2502,7 +2502,7 @@ THREADED_TEST(ArrayBuffer_ApiInternalToExternal) { |
v8::HandleScope handle_scope(isolate); |
Local<v8::ArrayBuffer> ab = v8::ArrayBuffer::New(1024); |
- CHECK_EQ(1024, ab->ByteLength()); |
+ CHECK_EQ(1024, static_cast<int>(ab->ByteLength())); |
CHECK(!ab->IsExternal()); |
HEAP->CollectAllGarbage(i::Heap::kNoGCFlags); |