[libunwind][AIX] Cast NULL as type uintptr_t. (#93204)

Casting NULL as type `uintptr_t` to allow type checking in both 32-bit
and 64-bit mode.
This commit is contained in:
Xing Xue 2024-05-23 16:06:21 -04:00 committed by GitHub
parent 72417920d3
commit 42b5daba50
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2416,7 +2416,7 @@ int UnwindCursor<A, R>::stepWithTBTable(pint_t pc, tbtable *TBTable,
}
// Reset LR in the current context.
newRegisters.setLR(NULL);
newRegisters.setLR(static_cast<uintptr_t>(NULL));
_LIBUNWIND_TRACE_UNWINDING(
"Extract info from lastStack=%p, returnAddress=%p",