diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-05-21 18:50:10 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-05-21 18:50:10 -0700 |
commit | 663b75b357e77bfc47e31830b4e49cf1b026b141 (patch) | |
tree | 6a06226b56ac114e17a2d1a1bc0506e857d07cf8 /stdlib/ffi.tl | |
parent | 128261df50be4d7f73ffe18b53388bc2e9cced65 (diff) | |
download | txr-663b75b357e77bfc47e31830b4e49cf1b026b141.tar.gz txr-663b75b357e77bfc47e31830b4e49cf1b026b141.tar.bz2 txr-663b75b357e77bfc47e31830b4e49cf1b026b141.zip |
ffi: fat bitfield bugfix for big endian.
* ffi.c (make_ffi_type_struct, make_ffi_type_union): We must
take fat bitfields into account when calculating mtft->shift
on big endian. We must subtract from bits_llint not bits_int
for big endian.
Diffstat (limited to 'stdlib/ffi.tl')
0 files changed, 0 insertions, 0 deletions