diff options
Diffstat (limited to 'libgcc')
-rw-r--r-- | libgcc/config/riscv/linux-unwind.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgcc/config/riscv/linux-unwind.h b/libgcc/config/riscv/linux-unwind.h index 931c2f2..e58d0f4 100644 --- a/libgcc/config/riscv/linux-unwind.h +++ b/libgcc/config/riscv/linux-unwind.h @@ -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; |