This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: i have to ask..


On Mon, Dec 03, 2001 at 02:43:07PM -0800, Timothy Daly wrote:
> 
> Why would you write (unsigned) -1?  For example, in
> ldwrite.c line 533:
> 
>   if (config.split_by_reloc != (unsigned) -1

To kill a gcc warning (for some versions of gcc) about comparing
unsigned values against signed values.


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