mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-23 19:03:59 +08:00
csky: Fix -Wincompatible-pointer-types warning during libgcc build
libgcc/ * config/csky/linux-unwind.h (csky_fallback_frame_state): Add missing cast.
This commit is contained in:
parent
bdbca405e1
commit
6e5216ec17
@ -75,7 +75,7 @@ csky_fallback_frame_state (struct _Unwind_Context *context,
|
||||
siginfo_t info;
|
||||
ucontext_t uc;
|
||||
} *_rt = context->cfa;
|
||||
sc = &(_rt->uc.uc_mcontext);
|
||||
sc = (struct sigcontext *) &(_rt->uc.uc_mcontext);
|
||||
}
|
||||
else
|
||||
return _URC_END_OF_STACK;
|
||||
|
Loading…
Reference in New Issue
Block a user