[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:
parent
72417920d3
commit
42b5daba50
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user