commit | 9b89de5fc4aa22e0cdc8e9f216135041549bbdff | [log] [tgz] |
---|---|---|
author | Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> | Mon Oct 21 11:10:28 2024 +0000 |
committer | Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> | Fri Dec 20 11:01:23 2024 +0000 |
tree | 2c54b3f86cf9bd6abe3da3eee73c07c62b003c2c | |
parent | 7d15b94ba3d7160c79c5c3229015f7e9373490ff [diff] |
fix(versal): typecast operands to match data type This corrects the MISRA violation C2012-10.1: Operands shall not be of an inappropriate essential type. The condition is explicitly checked against 0U, appending 'U' and typecasting for unsigned comparison. Change-Id: I41b08349fc6023458ffc6e126f58293a9ef37422 Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>