aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/sys.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-05-31 11:08:57 +0200
committerSverker Eriksson <[email protected]>2016-05-31 11:08:57 +0200
commit8305c497ffff7ccf7cb06635a18c84b3eb3c859f (patch)
treece4ec997c823d2e9075b8e8f3e3893703e0ec5d8 /erts/emulator/beam/sys.h
parent962b25f3b2879a48a8cd0596ffad862beb82d4d9 (diff)
parent770442cd4775a9bc56b3d0476754d8ea91ca2e2f (diff)
downloadotp-8305c497ffff7ccf7cb06635a18c84b3eb3c859f.tar.gz
otp-8305c497ffff7ccf7cb06635a18c84b3eb3c859f.tar.bz2
otp-8305c497ffff7ccf7cb06635a18c84b3eb3c859f.zip
Merge branch 'sverker/bad-hash'
Diffstat (limited to 'erts/emulator/beam/sys.h')
-rw-r--r--erts/emulator/beam/sys.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/sys.h b/erts/emulator/beam/sys.h
index f303d4f167..9a205d50d3 100644
--- a/erts/emulator/beam/sys.h
+++ b/erts/emulator/beam/sys.h
@@ -97,7 +97,7 @@
((UWord)((char*)(ptr) - (char*)(start)) < (nbytes))
#define ErtsContainerStruct(ptr, type, member) \
- (type *)((char *)(1 ? (ptr) : &((type *)0)->member) - offsetof(type, member))
+ ((type *)((char *)(1 ? (ptr) : &((type *)0)->member) - offsetof(type, member)))
#if defined (__WIN32__)
# include "erl_win_sys.h"