Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rule 11.1 Interpretation
#2
integral type is defined char, short, int, long, ( signed and unsigned).

Your code example is a constraint error, which breaks rule 1.1.

Most pointer conversions require an explicit cast.
Posted by and on behalf of the MISRA C Working Group


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)