summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ffi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffi.c b/ffi.c
index a83eea09..31956a8c 100644
--- a/ffi.c
+++ b/ffi.c
@@ -3164,7 +3164,7 @@ static val make_ffi_type_pointer(val syntax, val lisp_type,
tft->alloc = ffi_fixed_alloc;
tft->dynsize = ffi_fixed_dynsize;
tft->free = free;
- tft->by_value_in = 1;
+ tft->by_value_in = (in != 0);
return obj;
}