aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2023-10-13 09:34:36 +0200
committerFlorian Weimer <fweimer@redhat.com>2023-10-13 09:34:36 +0200
commitdab4f3ec0d1f11ca5a7122f8dac8284bcdcd07de (patch)
tree922849a43be57bcde4efa76a045296d59acc497d /libgcc
parentfbd3923887b40c90e7da7323cd0338f23339d888 (diff)
downloadgcc-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.h2
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;