diff options
author | Sverker Eriksson <[email protected]> | 2015-01-21 14:19:24 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2015-03-12 18:56:41 +0100 |
commit | 10a4f2777669ef2d7212e234cd272c64bb707e07 (patch) | |
tree | 2175be4cb322992409219db99f3eceba009dc0d0 /erts/emulator/beam/erl_hashmap.h | |
parent | f3c7a82d45db4c8d9a9f3579726719360384da50 (diff) | |
download | otp-10a4f2777669ef2d7212e234cd272c64bb707e07.tar.gz otp-10a4f2777669ef2d7212e234cd272c64bb707e07.tar.bz2 otp-10a4f2777669ef2d7212e234cd272c64bb707e07.zip |
erts: Add missing parenthesis in MAKE_MAP_HEADER
Diffstat (limited to 'erts/emulator/beam/erl_hashmap.h')
-rw-r--r-- | erts/emulator/beam/erl_hashmap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_hashmap.h b/erts/emulator/beam/erl_hashmap.h index 03739fa1f9..4ef795b11e 100644 --- a/erts/emulator/beam/erl_hashmap.h +++ b/erts/emulator/beam/erl_hashmap.h @@ -120,7 +120,7 @@ typedef struct hashmap_head_s { #define is_hashmap_header_head(x) ((MAP_HEADER_TYPE(x) & (0x2))) #define MAKE_MAP_HEADER(Type,Arity,Val) \ - (_make_header(((((Uint16)Val) << MAP_HEADER_ARITY_SZ) | (Arity)) << MAP_HEADER_TAG_SZ | (Type) , _TAG_HEADER_HASHMAP)) + (_make_header(((((Uint16)(Val)) << MAP_HEADER_ARITY_SZ) | (Arity)) << MAP_HEADER_TAG_SZ | (Type) , _TAG_HEADER_HASHMAP)) #define MAP_HEADER_HAMT_HEAD_ARRAY \ MAKE_MAP_HEADER(MAP_HEADER_TAG_HAMT_HEAD_ARRAY,0x1,0xffff) |