commit | 8af09db934c08936b51799ff902be0731253021f | [log] [tgz] |
---|---|---|
author | Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> | Mon Oct 21 05:57:58 2024 +0000 |
committer | Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> | Fri Dec 20 11:01:09 2024 +0000 |
tree | 6d076992e8ec8aba4d15018a16eab727ba931695 | |
parent | 60837116aa111891c24c49c51b78f7d9eaf936c2 [diff] |
fix(versal2): 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: Ia352e3cf261b52777c1c431701e1e6c3be9cd279 Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>