commit | d51c8e4c654a27e7487b7d15a64cec6f5eeab4e5 | [log] [tgz] |
---|---|---|
author | Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> | Tue Oct 22 06:53:27 2024 +0000 |
committer | Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> | Fri Dec 20 11:01:42 2024 +0000 |
tree | b210f86a03a7ec68f12e172e9f9af34dcc3af5e3 | |
parent | 3a1a2dae10ef3058e3973715fc4406544ff4aad7 [diff] |
fix(versal-net): 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: Ie2d32d5554d251cde8a9c8b7c7a85666ea505a15 Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>