MISRA-C 8.10.2 defines essential operand types and how to handle them through rules 10.1 .. 10.5. This commit adds an U to unsigned constants to avoid implicit casts and make if/while statements evaluate a boolean to avoid other types being casted to boolean. MISRA-C rules 10.1, 10.2 and 10.3 Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com> |
||
|---|---|---|
| .. | ||
| cmsis_rtos_v1 | ||
| cmsis_rtos_v2 | ||
| gui | ||
| libc | ||
| os | ||
| posix | ||
| CMakeLists.txt | ||
| Kconfig | ||