diff options
author | Ori Bernstein <ori@eigenstate.org> | 2020-03-09 08:02:22 -0700 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2020-03-09 08:02:22 -0700 |
commit | 698837e7150af19ff6a3f0bf2144dffc81202a55 (patch) | |
tree | c974d22046f6b89e62750ef0ab555cafd8e10691 /sys/src/cmd/cpp/cpp.h | |
parent | 446e454c5a19d1ce2e8da699686159b3a31e8bc7 (diff) | |
download | plan9front-698837e7150af19ff6a3f0bf2144dffc81202a55.tar.xz |
fix alignment in ape malloc
We used to have a padding int in the structure
after the next pointer, to align it to 16 bytes.
On 64 bit architectures, the pointer was already
8 bits, so the padding misaligned things to 20
bytes.
This fixes it so that we're explcit about the
data alignment we want, instead of hoping that
the various sizes line up.
Diffstat (limited to 'sys/src/cmd/cpp/cpp.h')
0 files changed, 0 insertions, 0 deletions