FFI: Don't assert on #1LL (5.2 compatibility mode only).

Reported by Denis Golovan.
This commit is contained in:
Mike Pall
2018-01-29 12:47:08 +01:00
parent c88602f080
commit b03a56f28e
3 changed files with 11 additions and 1 deletions

View File

@@ -193,7 +193,7 @@ LJLIB_CF(ffi_meta___eq) LJLIB_REC(cdata_arith MM_eq)
LJLIB_CF(ffi_meta___len) LJLIB_REC(cdata_arith MM_len)
{
return ffi_arith(L);
return lj_carith_len(L);
}
LJLIB_CF(ffi_meta___lt) LJLIB_REC(cdata_arith MM_lt)