Re: [B.A.T.M.A.N.] [PATCH 03/15] batman-adv: add biggest_unsigned_int(x) macro

David Laight
2012-04-25T14:14:21Z

> +/* 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

David