16-04-2018, 09:16 AM
Rule 8.3 concerns the types in the declaration and definition of a function.
It is not concerned with the types used in a function call.
However the example does violate rule 10.1 which does not permit the widening of types on a function call.
It is not concerned with the types used in a function call.
However the example does violate rule 10.1 which does not permit the widening of types on a function call.
Posted by and on behalf of the MISRA C Working Group