summaryrefslogtreecommitdiffstats
path: root/ffi.c
diff options
context:
space:
mode:
Diffstat (limited to 'ffi.c')
-rw-r--r--ffi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffi.c b/ffi.c
index c7713e3b..2e67192e 100644
--- a/ffi.c
+++ b/ffi.c
@@ -684,7 +684,7 @@ static void ffi_float_put(struct txr_ffi_type *tft, val n, mem_t *dst, val self)
n = int_flo(n);
/* fallthrough */
default:
- v = c_flo(n);
+ v = c_flo(n, self);
break;
}
@@ -719,7 +719,7 @@ static void ffi_double_put(struct txr_ffi_type *tft, val n, mem_t *dst,
n = int_flo(n);
/* fallthrough */
default:
- v = c_flo(n);
+ v = c_flo(n, self);
break;
}