summaryrefslogtreecommitdiffstats
path: root/gcc/unwind.inc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/unwind.inc')
-rw-r--r--gcc/unwind.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/unwind.inc b/gcc/unwind.inc
index a1d1a432f63..85636d40c03 100644
--- a/gcc/unwind.inc
+++ b/gcc/unwind.inc
@@ -135,8 +135,8 @@ static _Unwind_Reason_Code
_Unwind_ForcedUnwind_Phase2(struct _Unwind_Exception *exc,
struct _Unwind_Context *context)
{
- _Unwind_Stop_Fn stop = (_Unwind_Stop_Fn) exc->private_1;
- void *stop_argument = (void *) exc->private_2;
+ _Unwind_Stop_Fn stop = (_Unwind_Stop_Fn) (_Unwind_Ptr) exc->private_1;
+ void *stop_argument = (void *) (_Unwind_Ptr) exc->private_2;
_Unwind_Reason_Code code, stop_code;
while (1)
OpenPOWER on IntegriCloud