fix signedness of UINT32_MAX and UINT64_MAX at the preprocessor level
authorRich Felker <dalias@aerifal.cx>
Sun, 21 Dec 2014 07:30:29 +0000 (02:30 -0500)
committerRich Felker <dalias@aerifal.cx>
Sun, 21 Dec 2014 07:30:29 +0000 (02:30 -0500)
commitdac4fc49ae3ccb40bae4ef00fb2d93027f4ee9e1
tree70c0f050d783e254ff90e95b3e41e00f2750be85
parent814aae20093879dec36df0302febbafae2a66778
fix signedness of UINT32_MAX and UINT64_MAX at the preprocessor level

per the rules for hexadecimal integer constants, the previous
definitions were correctly treated as having unsigned type except
possibly when used in preprocessor conditionals, where all artithmetic
takes place as intmax_t or uintmax_t. the explicit 'u' suffix ensures
that they are treated as unsigned in all contexts.
include/stdint.h