commit | 8e4d5c6db0e462ea33db2eaee4229583ace6cd6f | [log] [tgz] |
---|---|---|
author | Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> | Wed Oct 23 10:05:48 2024 +0000 |
committer | Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> | Fri Dec 20 11:01:46 2024 +0000 |
tree | 0aed7b7d4edb388371237eb1c8e952a9279b2f8f | |
parent | d51c8e4c654a27e7487b7d15a64cec6f5eeab4e5 [diff] |
fix(versal): typecast operands to match data type This corrects the MISRA violation C2012-10.3: The value of an expression shall not be assigned to an object with a narrower essential type or of a different essential type category. The condition is explicitly checked against 0U, appending 'U' and typecasting for unsigned comparison. Change-Id: Ie82297e7eb5faa5d45b1a613c59516052e0c5ecb Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>