commit | 74a01efd895595259fe2292c43d8e02ce3c7c370 | [log] [tgz] |
---|---|---|
author | Aditya Deshpande <aditya.deshpande@arm.com> | Thu Jan 23 14:34:34 2025 +0000 |
committer | Aditya Deshpande <aditya.deshpande@arm.com> | Mon Feb 03 16:12:14 2025 +0000 |
tree | 59fcc9558c493b99fbea22d47cb0d3d4324164b0 | |
parent | d147d4b05c6a65fd727283a83cf3aff492dd0633 [diff] |
DPE: Fix bitwise operation order in convert_to_ascii_hex In C, the & operator has a lower precedence than bit shifts. As a result, the mask for the high nibble is shifted instead of the result of the bitwise AND. Fix this by adding parentheses. Signed-off-by: Aditya Deshpande <aditya.deshpande@arm.com> Change-Id: I55cc0791c3d2142bb8a8c2b156787e1ee8dbaa1e