| Index: test/cctest/test-types.cc
|
| diff --git a/test/cctest/test-types.cc b/test/cctest/test-types.cc
|
| index a3de98513dc917eff31f752b63503b0ff11c9945..2f0390868ab953baee37398f208969b41ac840c0 100644
|
| --- a/test/cctest/test-types.cc
|
| +++ b/test/cctest/test-types.cc
|
| @@ -141,7 +141,7 @@ struct ZoneRep {
|
| return reinterpret_cast<ZoneList<void*>*>(t);
|
| }
|
| static int AsBitset(ZoneType* t) {
|
| - return reinterpret_cast<intptr_t>(t) >> 1;
|
| + return static_cast<int>(reinterpret_cast<intptr_t>(t) >> 1);
|
| }
|
| static Map* AsClass(ZoneType* t) {
|
| return *reinterpret_cast<Map**>(AsTagged(t)->at(1));
|
|
|