Objects of integral types can be converted to shorter signed or unsigned integral types. However, this can result in loss of data if the value of the original object is outside the range representable by the shorter type. Such a conversion is called “standard conversion.”
Note:
The compiler issues a high-level warning when a conversion to a shorter type takes place.