Skip to content
Commit e96df400 authored by Maksim Masalski's avatar Maksim Masalski Committed by Anas Nashif
Browse files

arch: x86: cast to the same size composite expression



Essential type of RHS operand (64 bit) is wider than essential
type of composite expression in LHS operand (32 bit).
LHS entry_val is 32 bit, and RHS (phys+offset) is 64 bit.
Cast RHS composite expression to the (pentry_t) type.

Found as a coding guideline violation (MISRA R10.7) by static
coding scanning tool.

Signed-off-by: default avatarMaksim Masalski <maksim.masalski@intel.com>
parent 6cbf6a50
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment