This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [PATCH 2/7] Use CORE_ADDR_MAX in various "breaks" arrays


On 08/09/2018 12:20 AM, Tom Tromey wrote:
> Code like this:
> 
>   CORE_ADDR breaks[2] = {-1, -1};
> 
> ... gives a warning with -Wnarrowing.  This patch changes all
> instances of this to use CORE_ADDR_MAX instead.

OK.

Thanks,
Pedro Alves


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