Skip to content

Commit cffa896

Browse files
authored
Update (2023.08.03)
31878: LA port of 8312077: Fix signed integer overflow, final part
1 parent 0e1b12c commit cffa896

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/cpu/loongarch/macroAssembler_loongarch.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2213,7 +2213,7 @@ void MacroAssembler::check_klass_subtype_slow_path(Register sub_klass,
22132213
// Don't worry too much about pre-existing connections with the input regs.
22142214

22152215
#ifndef PRODUCT
2216-
int* pst_counter = &SharedRuntime::_partial_subtype_ctr;
2216+
uint* pst_counter = &SharedRuntime::_partial_subtype_ctr;
22172217
ExternalAddress pst_counter_addr((address) pst_counter);
22182218
#endif //PRODUCT
22192219

0 commit comments

Comments
 (0)