diff options
author | Florian Weimer <fweimer@redhat.com> | 2023-10-13 09:34:36 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2023-10-13 09:34:36 +0200 |
commit | dab4f3ec0d1f11ca5a7122f8dac8284bcdcd07de (patch) | |
tree | 922849a43be57bcde4efa76a045296d59acc497d /libgcc | |
parent | fbd3923887b40c90e7da7323cd0338f23339d888 (diff) | |
download | gcc-dab4f3ec0d1f11ca5a7122f8dac8284bcdcd07de.zip gcc-dab4f3ec0d1f11ca5a7122f8dac8284bcdcd07de.tar.gz gcc-dab4f3ec0d1f11ca5a7122f8dac8284bcdcd07de.tar.bz2 |
arc: Fix -Wincompatible-pointer-types warning during libgcc build
libgcc/
* config/arc/linux-unwind.h (arc_fallback_frame_state): Add
missing cast.
Diffstat (limited to 'libgcc')
-rw-r--r-- | libgcc/config/arc/linux-unwind.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgcc/config/arc/linux-unwind.h b/libgcc/config/arc/linux-unwind.h index 0292e22..dec9428 100644 --- a/libgcc/config/arc/linux-unwind.h +++ b/libgcc/config/arc/linux-unwind.h @@ -100,7 +100,7 @@ arc_fallback_frame_state (struct _Unwind_Context *context, if (pc[0] == MOV_R8_139) { rt_ = context->cfa; - sc = &rt_->uc.uc_mcontext; + sc = (struct sigcontext *) &rt_->uc.uc_mcontext; } else return _URC_END_OF_STACK; |