aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_process.c
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_process.c
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_process.c')
-rw-r--r--erts/emulator/beam/erl_process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c
index 48f89d2bd7..66f22979ad 100644
--- a/erts/emulator/beam/erl_process.c
+++ b/erts/emulator/beam/erl_process.c
@@ -3509,7 +3509,7 @@ wake_dirty_schedulers(ErtsRunQueue *rq, int one)
#endif
#define ERTS_NO_USED_RUNQS_SHIFT 16
-#define ERTS_NO_RUNQS_MASK 0xffff
+#define ERTS_NO_RUNQS_MASK 0xffffU
#if ERTS_MAX_NO_OF_SCHEDULERS > ERTS_NO_RUNQS_MASK
# error "Too large amount of schedulers allowed"