Skip to content
Commit ed2813ed authored by James Chesterman's avatar James Chesterman
Browse files

mod/cmn_cyprus: Fix unintended sign extension



Promoting a variable of the type uint8_t to uint64_t by casting
would first promote it to a signed integer, before converting it
to uint64_t. This has been fixed by making a separate uint64_t
variable to put the information in.

Signed-off-by: default avatarJames Chesterman <James.Chesterman@arm.com>
parent bf374e54
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment