On Mai 26 2019, John David Anglin <dave.ang...@bell.net> wrote:

> Index: config/pa/linux-unwind.h
> ===================================================================
> --- config/pa/linux-unwind.h  (revision 271614)
> +++ config/pa/linux-unwind.h  (working copy)
> @@ -130,7 +130,7 @@
>      return _URC_END_OF_STACK;
>
>    frame = (struct rt_sigframe *)(sp + off);
> -  sc = &frame->uc.uc_mcontext;
> +  sc = (struct sigcontext *)&frame->uc.uc_mcontext;

Why is it not better to use the correct type?

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

Reply via email to