diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-09-20 07:36:00 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-09-20 07:36:00 -0700 |
commit | 73561e855842fe75450d789ef11c5fd883f221d0 (patch) | |
tree | 94856a6947c990200b389e2895c103680a1a1cfe /ffi.c | |
parent | ed3f0c868a6ba3d43ce152a4be5a1f3a083eebd2 (diff) | |
download | txr-73561e855842fe75450d789ef11c5fd883f221d0.tar.gz txr-73561e855842fe75450d789ef11c5fd883f221d0.tar.bz2 txr-73561e855842fe75450d789ef11c5fd883f221d0.zip |
ffi: fix accidental reference to a uint type.
* ffi.c (make_ffi_type_struct): Change uint to unsigned.
This is a typo, but a uint type is coming from somewhere.
I discovered this in an environment where there is no uint.
Diffstat (limited to 'ffi.c')
-rw-r--r-- | ffi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3742,7 +3742,7 @@ static val make_ffi_type_struct(val syntax, val lisp_type, cobj(coerce(mem_t *, tft), ffi_type_cls, &ffi_type_struct_ops)); ucnum offs = 0; ucnum most_align = 1; - uint prev_bigendian = 0; + unsigned prev_bigendian = 0; int need_out_handler = 0; int bit_offs = 0; const unsigned bits_int = 8 * sizeof(int); |