diff --git a/src/lj_crecord.c b/src/lj_crecord.c index 2b83f3a1..fe08b935 100644 --- a/src/lj_crecord.c +++ b/src/lj_crecord.c @@ -1434,6 +1434,7 @@ void LJ_FASTCALL recff_cdata_arith(jit_State *J, RecordFFData *rd) } } else if (!tref_isnum(tr)) { tr = 0; + ct = ctype_get(cts, CTID_P_VOID); } ok: s[i] = ct;