diff options
author | Sverker Eriksson <[email protected]> | 2010-07-22 15:31:51 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2010-07-22 15:31:51 +0200 |
commit | 78bb45a531e9218e19e6faebd666355752fbfdb3 (patch) | |
tree | 8ded6b9e6d078ebc8ce6e1ef1def3f176582857a /erts/emulator/beam/erl_message.h | |
parent | 9267b2dc792c0a7632a0dcdc0a49510eb13e465e (diff) | |
download | otp-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.h | 8 |
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; }; |