Fix type error

Fix type error according to #13144
This commit is contained in:
vdusart 2022-07-07 13:41:33 +02:00 committed by GitHub
parent b6f11b3392
commit eb6b1291b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ Operators
Arithmetic and bit operators can be applied even if the two operands do not have the same type. Arithmetic and bit operators can be applied even if the two operands do not have the same type.
For example, you can compute ``y = x + z``, where ``x`` is a ``uint8`` and ``z`` has For example, you can compute ``y = x + z``, where ``x`` is a ``uint8`` and ``z`` has
the type ``int32``. In these cases, the following mechanism will be used to determine the type ``int16``. In these cases, the following mechanism will be used to determine
the type in which the operation is computed (this is important in case of overflow) the type in which the operation is computed (this is important in case of overflow)
and the type of the operator's result: and the type of the operator's result: