Changes to the codebase to remove MISRA violations
Description
In summary, this is a mix of casting changes as well as variable swaps to remove MISRA violations. Violations that were not feasible to be removed have had inline suppression, with justification, added to them. There are still a few violations that need to be fixed, but this is the vast majority of them.
Checklist:
[ x ] I have tested my changes. No regression in existing tests.
[ x ] My code is formatted using Uncrustify.
[ x ] I have read and applied the rules stated in CONTRIBUTING.md.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Changes to the codebase to remove MISRA violations
Description
In summary, this is a mix of casting changes as well as variable swaps to remove MISRA violations. Violations that were not feasible to be removed have had inline suppression, with justification, added to them. There are still a few violations that need to be fixed, but this is the vast majority of them.
Checklist:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.