Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
user avatar
Maheedhar Bollapalli authored
This corrects the MISRA violation C2012-10.7:
If a composite expression is used as one operand of an operator in
which the usual arithmetic conversions are performed then the other
operand shall not have wider essential type.
Explicitly type casted to match the data type of both the operands.

Change-Id: I670304682cc4945b8575f125ac750d0dc69079a7
Signed-off-by: default avatarNithin G <nithing@amd.com>
Signed-off-by: default avatarMaheedhar Bollapalli <maheedharsai.bollapalli@amd.com>
1877bf2c
Name Last commit Last update