aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_message.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2010-07-22 15:31:51 +0200
committerSverker Eriksson <[email protected]>2010-07-22 15:31:51 +0200
commit78bb45a531e9218e19e6faebd666355752fbfdb3 (patch)
tree8ded6b9e6d078ebc8ce6e1ef1def3f176582857a /erts/emulator/beam/erl_message.h
parent9267b2dc792c0a7632a0dcdc0a49510eb13e465e (diff)
downloadotp-78bb45a531e9218e19e6faebd666355752fbfdb3.tar.gz
otp-78bb45a531e9218e19e6faebd666355752fbfdb3.tar.bz2
otp-78bb45a531e9218e19e6faebd666355752fbfdb3.zip
Mending halfword heap emulator
Diffstat (limited to 'erts/emulator/beam/erl_message.h')
-rw-r--r--erts/emulator/beam/erl_message.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/erts/emulator/beam/erl_message.h b/erts/emulator/beam/erl_message.h
index 890af2675c..55ea92860a 100644
--- a/erts/emulator/beam/erl_message.h
+++ b/erts/emulator/beam/erl_message.h
@@ -30,10 +30,10 @@ struct external_thing_;
struct erl_off_heap_header {
Eterm thing_word;
- union {
- Uint size;
- void* ptr;
- }u;
+ Uint size;
+#if HALFWORD_HEAP
+ void* dummy_ptr_padding__;
+#endif
struct erl_off_heap_header* next;
};