mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-08 07:34:07 +00:00
Merge branch 'master' into v2.1
This commit is contained in:
commit
cc1e3425b9
@ -577,7 +577,7 @@ LJLIB_CF(ffi_istype) LJLIB_REC(.)
|
|||||||
if (ctype_ispointer(ct1->info))
|
if (ctype_ispointer(ct1->info))
|
||||||
b = lj_cconv_compatptr(cts, ct1, ct2, CCF_IGNQUAL);
|
b = lj_cconv_compatptr(cts, ct1, ct2, CCF_IGNQUAL);
|
||||||
else if (ctype_isnum(ct1->info) || ctype_isvoid(ct1->info))
|
else if (ctype_isnum(ct1->info) || ctype_isvoid(ct1->info))
|
||||||
b = (((ct1->info ^ ct2->info) & ~CTF_QUAL) == 0);
|
b = (((ct1->info ^ ct2->info) & ~(CTF_QUAL|CTF_LONG)) == 0);
|
||||||
} else if (ctype_isstruct(ct1->info) && ctype_isptr(ct2->info) &&
|
} else if (ctype_isstruct(ct1->info) && ctype_isptr(ct2->info) &&
|
||||||
ct1 == ctype_rawchild(cts, ct2)) {
|
ct1 == ctype_rawchild(cts, ct2)) {
|
||||||
b = 1;
|
b = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user