aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'erts/emulator/beam/erl_driver.h')
-rw-r--r--erts/emulator/beam/erl_driver.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_driver.h b/erts/emulator/beam/erl_driver.h
index ae0c9def90..547f5b44dc 100644
--- a/erts/emulator/beam/erl_driver.h
+++ b/erts/emulator/beam/erl_driver.h
@@ -185,6 +185,9 @@ typedef long long ErlDrvSInt64;
typedef struct erl_drv_binary {
long orig_size; /* total length of binary */
+#if SIZEOF_LONG < SIZEOF_VOID_P
+ long _pad;
+#endif
char orig_bytes[1]; /* the data (char instead of byte!) */
} ErlDrvBinary;