summaryrefslogtreecommitdiffstats
path: root/ffi.c
diff options
context:
space:
mode:
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 4a2db26d..3f302ef2 100644
--- a/ffi.c
+++ b/ffi.c
@@ -3559,7 +3559,7 @@ val ffi_type_compile(val syntax)
if (tft->eltype || tft->memb != 0)
uw_throwf(error_s, lit("~a: type ~s can't be basis for bool"),
self, tft->syntax, nao);
- tft->syntax = type_syntax;
+ tft->syntax = syntax;
tft->eltype = type;
tft->get = ffi_bool_get;
tft->put = ffi_bool_put;