revert hacks for types of stdint.h integer constant macros
authorRich Felker <dalias@aerifal.cx>
Tue, 7 Feb 2012 17:08:27 +0000 (12:08 -0500)
committerRich Felker <dalias@aerifal.cx>
Tue, 7 Feb 2012 17:08:27 +0000 (12:08 -0500)
commita591e0383a0a31ac94541846796b93fedc63a0c4
tree106471e3f4c6571b48c3924bf86c738df393df15
parent36bf56940af90baa478dd1258884291d5d213d10
revert hacks for types of stdint.h integer constant macros

per 7.18.4: Each invocation of one of these macros shall expand to an
integer constant expression suitable for use in #if preprocessing
directives. The type of the expression shall have the same type as
would an expression of the corresponding type converted according to
the integer promotions. The value of the expression shall be that of
the argument.

the key phrase is "converted according to the integer promotions".
thus there is no intent or allowance that the expression have
smaller-than-int types.
include/stdint.h