commit | 5bbe4fdfb5696e62e4d0b06796036bf36e821b27 | [log] [tgz] |
---|---|---|
author | Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> | Wed Apr 24 13:16:11 2024 +0530 |
committer | Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> | Thu Jun 12 09:11:43 2025 +0530 |
tree | 8383dd66fd4d3609aae105c0a0db5ccdb9fa1d65 | |
parent | 4f7fb07603928c389a8f9b7449a9061c0f6942f9 [diff] |
fix(console): 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: Ie78d91f0f79804797648ef996fb208d3ee1698dd Signed-off-by: Nithin G <nithing@amd.com> Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>