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 | luajit-b03a56f28ec360bbcf43091afd0607890a4a33c7.tar.gz luajit-b03a56f28ec360bbcf43091afd0607890a4a33c7.tar.bz2 luajit-b03a56f28ec360bbcf43091afd0607890a4a33c7.zip |
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) | |||
193 | 193 | ||
194 | LJLIB_CF(ffi_meta___len) LJLIB_REC(cdata_arith MM_len) | 194 | LJLIB_CF(ffi_meta___len) LJLIB_REC(cdata_arith MM_len) |
195 | { | 195 | { |
196 | return ffi_arith(L); | 196 | return lj_carith_len(L); |
197 | } | 197 | } |
198 | 198 | ||
199 | LJLIB_CF(ffi_meta___lt) LJLIB_REC(cdata_arith MM_lt) | 199 | LJLIB_CF(ffi_meta___lt) LJLIB_REC(cdata_arith MM_lt) |