Skip to content

Commit

Permalink
compile error on Linux x86 and arm 32bit
Browse files Browse the repository at this point in the history
  • Loading branch information
MBaesken committed Nov 4, 2024
1 parent a634419 commit 2ef76dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/hotspot/share/runtime/os.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1377,17 +1377,17 @@ void os::print_reg(outputStream *st, const char* reg, intptr_t val) {
#endif

if (val == pat) {
st->print_cr("%s" INTPTR_FORMAT " / %ld <= unused storage marker found", reg, val, val);
st->print_cr("%s" INTPTR_FORMAT " <= unused storage marker found", reg, val);
} else {
#ifdef _LP64
if (val1 == db1 || val2 == db2) {
#else
if (val == db1) {
#endif
st->print_cr("%s" INTPTR_FORMAT " / %ld <= bad value marker found", reg, val, val);
st->print_cr("%s" INTPTR_FORMAT " <= bad value marker found", reg, val);
} else {
#endif // PRODUCT
st->print_cr("%s" INTPTR_FORMAT " / %ld", reg, val, val);
st->print_cr("%s" INTPTR_FORMAT, reg, val);
#ifndef PRODUCT
}
}
Expand Down

0 comments on commit 2ef76dd

Please sign in to comment.