31-07-2014, 10:47 AM
Hi,
Please can anybody help me to understand whether Misra C rules support signed to unsigned and vis-verse data typecasting?
If there is requirement to do some manipulation on signed and unsigned values, then i think it is ok to type-caste. But the requirement given to us says that whenever there is typecasting happening from signed to unsigned and vis-verse, then such incident should be failed.
Thanks in advance,
Deepa
Please can anybody help me to understand whether Misra C rules support signed to unsigned and vis-verse data typecasting?
If there is requirement to do some manipulation on signed and unsigned values, then i think it is ok to type-caste. But the requirement given to us says that whenever there is typecasting happening from signed to unsigned and vis-verse, then such incident should be failed.
Thanks in advance,
Deepa
<t></t>