aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_ptab.h
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-06-10 19:47:47 +0200
committerBjörn-Egil Dahlberg <[email protected]>2016-06-10 19:47:47 +0200
commit45c595ab6150792b2b7be9a407c3d30e634e3924 (patch)
tree141ebee03fb6ef1e75d6075807181d0f6b739852 /erts/emulator/beam/erl_ptab.h
parentc2ff9af2eb8d372af3f6cf8fc2953dc90f9ead78 (diff)
downloadotp-45c595ab6150792b2b7be9a407c3d30e634e3924.tar.gz
otp-45c595ab6150792b2b7be9a407c3d30e634e3924.tar.bz2
otp-45c595ab6150792b2b7be9a407c3d30e634e3924.zip
erts: Fix undefined shift to msb in erl_process
Diffstat (limited to 'erts/emulator/beam/erl_ptab.h')
-rw-r--r--erts/emulator/beam/erl_ptab.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_ptab.h b/erts/emulator/beam/erl_ptab.h
index a5931ffc25..fecfd96ab0 100644
--- a/erts/emulator/beam/erl_ptab.h
+++ b/erts/emulator/beam/erl_ptab.h
@@ -168,7 +168,7 @@ typedef struct {
#define ERTS_PTAB_INVALID_ID(TAG) \
((Eterm) \
- ((((1 << ERTS_PTAB_ID_DATA_SIZE) - 1) << ERTS_PTAB_ID_DATA_SHIFT) \
+ ((((1U << ERTS_PTAB_ID_DATA_SIZE) - 1) << ERTS_PTAB_ID_DATA_SHIFT) \
| (TAG)))
#define erts_ptab_is_valid_id(ID) \