LINUX.ORG.RU

История изменений

Исправление xaizek, (текущая версия) :

Определение того, что такое «integer promotions», находится по индексу здесь:

6.3.1 Arithmetic operands
6.3.1.1 Boolean, characters, and integers
...
3 ... If an int can represent all values of the original type, the value is converted to an int;
otherwise, it is converted to an unsigned int. These are called the integer
promotions. 48) All other types are unchanged by the integer promotions.

Исходная версия xaizek, :

Определение того, что такое «integer promotions» находится по индексу здесь:

6.3.1 Arithmetic operands
6.3.1.1 Boolean, characters, and integers
...
3 ... If an int can represent all values of the original type, the value is converted to an int;
otherwise, it is converted to an unsigned int. These are called the integer
promotions. 48) All other types are unchanged by the integer promotions.