...
Typically, converting an integer to a smaller type results in truncation of the high-order bits.
See also undefined behavior 15 in C99 Annex J.
Noncompliant Code Example (Unsigned to Signed)
...
...
Typically, converting an integer to a smaller type results in truncation of the high-order bits.
See also undefined behavior 15 in C99 Annex J.
...