commit | 9cadba3665e6275b0492d5ed3f7dc4e192e94a37 | [log] [tgz] |
---|---|---|
author | Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> | Thu Oct 24 04:40:04 2024 +0000 |
committer | Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> | Fri Dec 20 11:01:50 2024 +0000 |
tree | 33d73ad45a3c075f89eab4e711c732513aaa421a | |
parent | 2d600a278a00fe8c25d5591b4895b08ab4208a1e [diff] |
fix(versal2): 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: I37ec9f8d716347df9acea5eb084f5a423a32a058 Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>