From: Richard Henderson <r...@twiddle.net> --- libgcc/config/rs6000/linux-unwind.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libgcc/config/rs6000/linux-unwind.h b/libgcc/config/rs6000/linux-unwind.h index 2011632..13bf413 100644 --- a/libgcc/config/rs6000/linux-unwind.h +++ b/libgcc/config/rs6000/linux-unwind.h @@ -368,7 +368,7 @@ frob_update_context (struct _Unwind_Context *context, _Unwind_FrameState *fs ATT before the bctrl so this is the first and only place we need to use the stored R2. */ _Unwind_Word sp = _Unwind_GetGR (context, 1); - _Unwind_SetGRPtr (context, 2, sp + 40); + _Unwind_SetGRPtr (context, 2, (void *)(sp + 40)); } } } -- 1.7.6.4