commit | 0605b7e8af4980d4e26afc6720dcbf2644633c53 | [log] [tgz] |
---|---|---|
author | Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com> | Tue Jun 18 06:41:29 2024 |
committer | Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com> | Wed Jun 26 16:54:48 2024 |
tree | 1ca4d12ce07d9a6b8a7200a5b3b9945224448d5b | |
parent | 7985aded701cc715bff2dd247680b9d0d2ffb42c [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>