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]

i have to ask..



Why would you write (unsigned) -1?  For example, in
ldwrite.c line 533:

  if (config.split_by_reloc != (unsigned) -1

Has this somehow become idiomatic for "largest
unsigned int 
value"?  Is that common practice, and I was unaware of
it?  Will it
always be correct?

-Tim


__________________________________________________
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com


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