| Index: test/unittests/compiler/zone-pool-unittest.cc
|
| diff --git a/test/unittests/compiler/zone-pool-unittest.cc b/test/unittests/compiler/zone-pool-unittest.cc
|
| index b005d2cbaf1bb19c7adf5ebf222d5ffc261c1c31..3bfde4bdce2fcbd9493f6a7d6d47425e8330ae34 100644
|
| --- a/test/unittests/compiler/zone-pool-unittest.cc
|
| +++ b/test/unittests/compiler/zone-pool-unittest.cc
|
| @@ -32,9 +32,9 @@ class ZonePoolTest : public TestWithIsolate {
|
|
|
| size_t Allocate(Zone* zone) {
|
| size_t bytes = rng.NextInt(25) + 7;
|
| - int size_before = zone->allocation_size();
|
| - zone->New(static_cast<int>(bytes));
|
| - return static_cast<size_t>(zone->allocation_size() - size_before);
|
| + size_t size_before = zone->allocation_size();
|
| + zone->New(bytes);
|
| + return zone->allocation_size() - size_before;
|
| }
|
|
|
| private:
|
|
|