From a4725cb01dcb9a846a73922bb7c14cd87f0e7803 Mon Sep 17 00:00:00 2001 From: Rickard Green Date: Sat, 7 Aug 2010 05:28:47 +0200 Subject: Align trailing message data for all types of structures Alignment of trailing data in messages has been adjusted. This in order to be able to pass data of any type as trailing data in the future. --- erts/emulator/beam/external.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'erts/emulator/beam/external.h') diff --git a/erts/emulator/beam/external.h b/erts/emulator/beam/external.h index db86b4d796..cee48bbeb0 100644 --- a/erts/emulator/beam/external.h +++ b/erts/emulator/beam/external.h @@ -211,7 +211,7 @@ ERTS_GLB_INLINE void * erts_dist_ext_trailer(ErtsDistExternal *edep) { void *res = (void *) (edep->ext_endp - + ERTS_WORD_ALIGN_PAD_SZ(edep->ext_endp)); + + ERTS_EXTRA_DATA_ALIGN_SZ(edep->ext_endp)); ASSERT((((UWord) res) % sizeof(Uint)) == 0); return res; } -- cgit v1.2.3