13-05-2010, 09:43 AM
It is intended that the first operand of the ternary operator should be effectively Boolean. This will be made clear in a future revision of the MISRA C Guidelines.
Posted by and on behalf of the MISRA C Working Group