Promotion of integral types

Frank Adams franka at mmintl.UUCP
Mon Oct 6 09:30:17 AEST 1986


In article <271 at myrias.UUCP> cmt at myrias.UUCP writes:
>The ANSI Draft (1986.07.09 version) says
>very clearly that unsigned char and unsigned short are promoted to int,
>since the values can all be represented in an int (assuming sizeof(int)
>is greater than sizeof(short), which is usually true).

Usually isn't good enough.  If this is what the ANSI Draft says, it should
be fixed.

Frank Adams                           ihnp4!philabs!pwa-b!mmintl!franka
Multimate International    52 Oakland Ave North    E. Hartford, CT 06108



More information about the Comp.lang.c mailing list