commit | 7d15b94ba3d7160c79c5c3229015f7e9373490ff | [log] [tgz] |
---|---|---|
author | Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> | Wed Apr 24 12:53:28 2024 +0530 |
committer | Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> | Fri Dec 20 11:01:18 2024 +0000 |
tree | 5c668ff79611e368f2948d76b2368b0597ec1098 | |
parent | 2863b0c46633d28a920ef14c68ee4a6e4842ab0b [diff] |
fix(xilinx): typecast operands to match data type This corrects the MISRA violation C2012-10.1: Operands shall not be of an inappropriate essential type. The condition is explicitly checked against 0U, appending 'U' and typecasting for unsigned comparison. Change-Id: I675f1b2ac408b70a9ca307fb5161ebb8e597897c Signed-off-by: Nithin G <nithing@amd.com> Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>