commit | b83e42b31c400f6fd9476da84c92e6dd56a751e7 | [log] [tgz] |
---|---|---|
author | Eleanor Bonnici <Eleanor.bonnici@arm.com> | Wed Aug 09 10:36:08 2017 +0100 |
committer | Jeenu Viswambharan <jeenu.viswambharan@arm.com> | Tue Aug 29 13:52:48 2017 +0100 |
tree | 3634b0ffa88ef3ba10a9f390351450012b713e09 | |
parent | 1bdd5b35fe2990ac5b8aac3c35706d84cc777216 [diff] |
CPU: Make shifted constants unsigned In order to avoid Undefined behavior, left operand in left-shift expressions needs to be unsigned, and of sufficient size. The safest and most consistent approach is to use unsigned long long type. Change-Id: I9612f16a6e6ea4c7df62a02497d862abf19b8e1b Signed-off-by: Eleanor Bonnici <Eleanor.bonnici@arm.com>