diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 2c850debbe4..e9828856972 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,7 @@ +2019-05-26 John David Anglin + + * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast. + 2019-05-04 Michael Meissner * ChangeLog.ibm: Delete unintentional commit on the wrong branch. diff --git a/libgcc/config/pa/linux-unwind.h b/libgcc/config/pa/linux-unwind.h index f8a2b910a60..4f62ad0b702 100644 --- a/libgcc/config/pa/linux-unwind.h +++ b/libgcc/config/pa/linux-unwind.h @@ -130,7 +130,7 @@ pa32_fallback_frame_state (struct _Unwind_Context *context, return _URC_END_OF_STACK; frame = (struct rt_sigframe *)(sp + off); - sc = &frame->uc.uc_mcontext; + sc = (struct sigcontext *)&frame->uc.uc_mcontext; new_cfa = sc->sc_gr[30]; fs->regs.cfa_how = CFA_REG_OFFSET;