diff options
author | davidcunado-arm <david.cunado@arm.com> | 2017-09-25 18:56:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-25 18:56:48 +0100 |
commit | 36f52843e17576d476b9005bb55aa49c5a52088d (patch) | |
tree | 4291bffc8b34a4d395bbee467ee5fcaff2bcdbeb /drivers/arm/ccn/ccn.c | |
parent | df312c5a2b152953f755df9d979cff20afb7ef4b (diff) | |
parent | e47ac1fd634a3934d7d3ac446190b2f4bd8a640f (diff) |
Merge pull request #1106 from antonio-nino-diaz-arm/an/bit-macro
Fix type of `unsigned long` constants
Diffstat (limited to 'drivers/arm/ccn/ccn.c')
-rw-r--r-- | drivers/arm/ccn/ccn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/arm/ccn/ccn.c b/drivers/arm/ccn/ccn.c index ec264d21..afb7d9d3 100644 --- a/drivers/arm/ccn/ccn.c +++ b/drivers/arm/ccn/ccn.c @@ -236,7 +236,7 @@ static unsigned long long ccn_master_to_rn_id_map(unsigned long long master_map) node_id = ccn_plat_desc->master_to_rn_id_map[iface_id]; /* Set the bit corresponding to this node ID */ - rn_id_map |= (1UL << node_id); + rn_id_map |= (1ULL << node_id); } return rn_id_map; |