aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_message.h
diff options
context:
space:
mode:
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;
};