summaryrefslogtreecommitdiffstats
path: root/ffi.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-09-20 07:36:00 -0700
committerKaz Kylheku <kaz@kylheku.com>2022-09-20 07:36:00 -0700
commit73561e855842fe75450d789ef11c5fd883f221d0 (patch)
tree94856a6947c990200b389e2895c103680a1a1cfe /ffi.c
parented3f0c868a6ba3d43ce152a4be5a1f3a083eebd2 (diff)
downloadtxr-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffi.c b/ffi.c
index dfe90ddc..4c6025d6 100644
--- a/ffi.c
+++ b/ffi.c
@@ -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);