diff options
author | Florian Weimer <fweimer@redhat.com> | 2023-10-13 09:34:37 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2023-10-13 09:34:37 +0200 |
commit | cf611de73d829742f67461e2287fa4ec2bf99801 (patch) | |
tree | 7d191930b5ce06a32278b3a172525331b0ee5fd4 | |
parent | dab4f3ec0d1f11ca5a7122f8dac8284bcdcd07de (diff) | |
download | gcc-cf611de73d829742f67461e2287fa4ec2bf99801.zip gcc-cf611de73d829742f67461e2287fa4ec2bf99801.tar.gz gcc-cf611de73d829742f67461e2287fa4ec2bf99801.tar.bz2 |
or1k: Fix -Wincompatible-pointer-types warning during libgcc build
libgcc/
* config/or1k/linux-unwind.h (or1k_fallback_frame_state): Add
missing cast.
-rw-r--r-- | libgcc/config/or1k/linux-unwind.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgcc/config/or1k/linux-unwind.h b/libgcc/config/or1k/linux-unwind.h index aa87379..37b0c5a 100644 --- a/libgcc/config/or1k/linux-unwind.h +++ b/libgcc/config/or1k/linux-unwind.h @@ -51,7 +51,7 @@ or1k_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 = sc->regs.gpr[1]; fs->regs.cfa_how = CFA_REG_OFFSET; |