25-06-2015, 08:00 AM
Both lines are compliant with all MISRA-C:2004 rules, except Rule 6.3 which requires typedefs instead of "unsigned int".
Rules 10.1 and 10.3 only apply to integers types whereas these operations are on pointers.
Rules 10.1 and 10.3 only apply to integers types whereas these operations are on pointers.
Posted by and on behalf of the MISRA C Working Group