Part Number: RM46L852
Tool/software: Code Composer Studio
Hello,
I have enabled MISRA C checking in CCS 7.1 and am having problems with the following code:
uint16_t ctTest = 0U;
uint16_t *ptrTest;
...
ptrTest = &ctTest;
The last line gives the following MISRA warning:
#1393-D (MISRA-C:2004 10.1/R) The value of an expression of integer type shall not be implicitly converted to a different underlying type if the expression is complex.
Is anyone able to explain what is wrong with this line or if it is a bug in CCS?