> > +/* Returns the biggest unsigned integer with the sizeof x */ > > +#define biggest_unsigned_int(x) (~(x)0) > > Nope - biggest_unsigned_int(unsigned char) is probably 0xffffffff
To correct myself, it is actually ((int)(-1)) (ie a signed value).
David
