| Index: src/types-inl.h
|
| diff --git a/src/types-inl.h b/src/types-inl.h
|
| index d6c69c44009f64ddf8ce29d98b11d79f37d241f4..2c805032902d0d2bc79862dd8822e3a46a6263fc 100644
|
| --- a/src/types-inl.h
|
| +++ b/src/types-inl.h
|
| @@ -130,15 +130,13 @@ void ZoneTypeConfig::struct_shrink(Struct* structured, int length) {
|
|
|
| // static
|
| int ZoneTypeConfig::struct_tag(Struct* structured) {
|
| - int tag = reinterpret_cast<intptr_t>(structured[0]);
|
| - return tag;
|
| + return static_cast<int>(reinterpret_cast<intptr_t>(structured[0]));
|
| }
|
|
|
|
|
| // static
|
| int ZoneTypeConfig::struct_length(Struct* structured) {
|
| - int length = reinterpret_cast<intptr_t>(structured[1]);
|
| - return length;
|
| + return static_cast<int>(reinterpret_cast<intptr_t>(structured[1]));
|
| }
|
|
|
|
|
|
|