diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc index c76879a75f..5fae5f7223 100644 --- a/src/hydrogen-instructions.cc +++ b/src/hydrogen-instructions.cc @@ -2341,7 +2341,8 @@ Range* HBitwise::InferRange(Zone* zone) { if (right_lower < 0) right_lower = ~right_lower; int high = MostSignificantBit( - left_upper | left_lower | right_upper | right_lower); + static_cast( + left_upper | left_lower | right_upper | right_lower)); int64_t limit = 1; limit <<= high;