Index: test/cctest/test-alloc.cc |
=================================================================== |
--- test/cctest/test-alloc.cc (revision 5551) |
+++ test/cctest/test-alloc.cc (working copy) |
@@ -43,7 +43,7 @@ |
NewSpace* new_space = Heap::new_space(); |
static const int kNewSpaceFillerSize = ByteArray::SizeFor(0); |
while (new_space->Available() > kNewSpaceFillerSize) { |
- int available_before = new_space->Available(); |
+ int available_before = static_cast<int>(new_space->Available()); |
CHECK(!Heap::AllocateByteArray(0)->IsFailure()); |
if (available_before == new_space->Available()) { |
// It seems that we are avoiding new space allocations when |