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:
Florian Weimer 2023-10-13 09:34:36 +02:00
parent bdbca405e1
commit 6e5216ec17

View File

@ -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;