8255766: Fix linux+arm64 build after 8254072

Reviewed-by: kvn, ihse
This commit is contained in:
Bernhard Urban-Forster 2020-11-02 20:25:59 +00:00 committed by Vladimir Kozlov
parent ceba2f8503
commit bee864fb3a

View File

@ -1498,8 +1498,7 @@ nmethod* SharedRuntime::generate_native_wrapper(MacroAssembler* masm,
// Generate stack overflow check
if (UseStackBanging) {
assert(StackOverflow::stack_shadow_zone_size() == (int)StackOverflow::stack_shadow_zone_size(), "must be same");
__ bang_stack_with_offset((int)StackOverflow::stack_shadow_zone_size());
__ bang_stack_with_offset(checked_cast<int>(StackOverflow::stack_shadow_zone_size()));
} else {
Unimplemented();
}