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 /include/lib/utils_def.h | |
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 'include/lib/utils_def.h')
-rw-r--r-- | include/lib/utils_def.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/lib/utils_def.h b/include/lib/utils_def.h index 26ac4409..b397e302 100644 --- a/include/lib/utils_def.h +++ b/include/lib/utils_def.h @@ -16,7 +16,7 @@ #define SIZE_FROM_LOG2_WORDS(n) (4 << (n)) -#define BIT(nr) (1UL << (nr)) +#define BIT(nr) (1ULL << (nr)) #define MIN(x, y) __extension__ ({ \ __typeof__(x) _x = (x); \ |