struct sockaddr_storage
Philip Blundell
pb@nexus.co.uk
Tue May 11 01:36:00 GMT 1999
>This is wrong. The preprocessor must use the widest type for evaluation,
>which is intmax_t in C9x, so that ~0U is _always_ bigger than 0xffffffff
>(independent of the suffix, which is ignored by the preprocessor, and
>intmax_t must have at least 64 bits). You must use ULONG_MAX instead.
OK, thanks. In that case <netinet/in.h> should probably be fixed too - it's
important that the two remain in step. I'll make a patch shortly.
p.
More information about the Libc-hacker
mailing list