diff options
Diffstat (limited to 'gcc/ada/tb-gcc.c')
-rw-r--r-- | gcc/ada/tb-gcc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/tb-gcc.c b/gcc/ada/tb-gcc.c index d0b12c7..f4d5b12 100644 --- a/gcc/ada/tb-gcc.c +++ b/gcc/ada/tb-gcc.c @@ -64,13 +64,13 @@ typedef struct { static _Unwind_Reason_Code trace_callback (struct _Unwind_Context * uw_context, uw_data_t * uw_data) { - void * pc; + char * pc; #if defined (__ia64__) && defined (__hpux__) /* Work around problem with _Unwind_GetIP on ia64 HP-UX. */ uwx_get_reg ((struct uwx_env *) uw_context, UWX_REG_IP, (uint64_t *) &pc); #else - pc = (void *) _Unwind_GetIP (uw_context); + pc = (char *) _Unwind_GetIP (uw_context); #endif if (uw_data->n_frames_skipped < uw_data->n_frames_to_skip) |