summaryrefslogtreecommitdiffstats
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
commit41215711114836a83d1f753c6c9a9362392998ba (patch)
tree94856a6947c990200b389e2895c103680a1a1cfe
parentc499b927e1a48e5e0351da472de4736a3e4b445f (diff)
downloadtxr-41215711114836a83d1f753c6c9a9362392998ba.tar.gz
txr-41215711114836a83d1f753c6c9a9362392998ba.tar.bz2
txr-41215711114836a83d1f753c6c9a9362392998ba.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.
-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);