commit | 60837116aa111891c24c49c51b78f7d9eaf936c2 | [log] [tgz] |
---|---|---|
author | Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> | Mon Oct 21 05:41:14 2024 +0000 |
committer | Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> | Fri Dec 20 11:01:04 2024 +0000 |
tree | 456cb9b888efcd1250b3a0b60627a66c73f1dd03 | |
parent | b3c92e6f538e5dc30565a68a8d1c074b46840632 [diff] |
fix(versal-net): typecast expressions to match data type This corrects the MISRA violation C2012-10.4: Both operands of an operator in which the usual arithmetic conversions are performed shall have the same essential type category. The condition is explicitly checked against 0U, appending 'U' and typecasting for unsigned comparison. Change-Id: I5add78285ff0e48aa6c0fb639e7e2924f5bf9000 Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>