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 d5769e21..0aa019dc 100644
--- a/ffi.c
+++ b/ffi.c
@@ -2131,7 +2131,7 @@ static val ffi_wchar_rget(struct txr_ffi_type *tft, mem_t *src, val self)
static void ffi_be_i16_rput(struct txr_ffi_type *tft, val n, mem_t *dst,
val self)
{
- (void) tft;
+ memset(dst, 0, 6);
ffi_be_i16_put(tft, n, dst + 6, self);
}