mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-27 13:54:19 +08:00
riscv: Fix -Wincompatible-pointer-types warning during libgcc build
libgcc/ * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Add missing cast.
This commit is contained in:
parent
6e5216ec17
commit
fbd3923887
@ -64,7 +64,7 @@ riscv_fallback_frame_state (struct _Unwind_Context *context,
|
||||
return _URC_END_OF_STACK;
|
||||
|
||||
rt_ = context->cfa;
|
||||
sc = &rt_->uc.uc_mcontext;
|
||||
sc = (struct sigcontext *) &rt_->uc.uc_mcontext;
|
||||
|
||||
new_cfa = (_Unwind_Ptr) sc;
|
||||
fs->regs.cfa_how = CFA_REG_OFFSET;
|
||||
|
Loading…
Reference in New Issue
Block a user