This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Ada] Fix more -Wc++-compat warnings


> Index: gcc/ada/tb-gcc.c
> ===================================================================
> --- gcc/ada/tb-gcc.c	(revision 149013)
> +++ gcc/ada/tb-gcc.c	(working copy)
> @@ -82,7 +82,7 @@
>    if (uw_data->n_entries_filled >= uw_data->max_len)
>      return _URC_NORMAL_STOP;
>
> -  if (pc < uw_data->exclude_min || pc > uw_data->exclude_max)
> +  if (pc < (char *)uw_data->exclude_min || pc > (char
> *)uw_data->exclude_max) uw_data->traceback [uw_data->n_entries_filled ++] =
> pc + PC_ADJUST;
>
>    return _URC_NO_REASON;

Thanks, please apply.

-- 
Eric Botcazou


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]