Why is this an issue?
This rule is a strict implementation of a MISRA (Motor Industry Software Reliability Association) rule. MISRA defines best practices for developing
safety-critical software. You can learn more about this rule in the MISRA documents referenced below.
Resources
- MISRA C++ 2008, 5-2-9 - A cast should not convert a pointer type to an integral type.