commit | bfeaf0f4ea2a7d509b5f1a23186dff8186b9858d | [log] [tgz] |
---|---|---|
author | Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com> | Tue Jun 18 09:41:29 2024 +0300 |
committer | Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com> | Wed Jun 26 19:54:48 2024 +0300 |
tree | 1ca4d12ce07d9a6b8a7200a5b3b9945224448d5b | |
parent | ea375c3f86553b3a7855120b5fea34591df73114 [diff] |
fix(lib): fix MISRA 12.2 violations for BIT32 and BIT64 macros MISRA interprets all unsigned integer literals as UTLR, which has the lowest rank required to represent a value. In this specific case, the value 1U was interpreted as an unsigned char. As a result, explicit casts are necessary to avoid issues with MISRA 12.2. Change-Id: I4c1231ffabb27442c6a48dabd96942574d27c719 Signed-off-by: Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com>