25.3.9 Integer Conversion
When converting an integer type to a signed integer of insufficient size, the original value is truncated from the most-significant bit to accommodate the target size.
Example
The following shows an assignment of a value that is truncated.
signed char destination;
unsigned int source = 0x12FE;
destination = source;
Under the CCI, the value of destination
after the alignment is -2 (that
is, the bit pattern 0xFE).
Differences
All compilers have performed integer conversion in an identical fashion to that described in this section.
Migration to the CCI
No action required.