diff options
author | Mike Pall <mike> | 2018-01-29 12:47:08 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2018-01-29 12:47:08 +0100 |
commit | b03a56f28ec360bbcf43091afd0607890a4a33c7 (patch) | |
tree | e8ca6face0a82f440512ad01067c17390fdf5ae8 /src/lib_ffi.c | |
parent | c88602f080dcafea6ba222a2f7cc1ea0e41ef3cc (diff) | |
download | luajit2-b03a56f28ec360bbcf43091afd0607890a4a33c7.tar.gz |
FFI: Don't assert on #1LL (5.2 compatibility mode only).
Reported by Denis Golovan.
Diffstat (limited to 'src/lib_ffi.c')
-rw-r--r-- | src/lib_ffi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib_ffi.c b/src/lib_ffi.c index f2f2ede4..83483d95 100644 --- a/src/lib_ffi.c +++ b/src/lib_ffi.c @@ -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) |