mirror of
https://github.com/ptitSeb/box64.git
synced 2025-05-07 15:36:41 +08:00
[WRAPPERHELPER] Fixed 02423c2 (#2584)
This commit is contained in:
parent
f72d43b77e
commit
1aa29ec1d3
@ -899,8 +899,7 @@ int type_copy_into(type_t *dest, const type_t *ref) {
|
||||
++ref->val.fun.ret->nrefs;
|
||||
if (ref->val.fun.nargs != (size_t)-1) {
|
||||
if (!ref->val.fun.args) {
|
||||
dest->typ = TYPE_BUILTIN;
|
||||
return 1;
|
||||
break;
|
||||
}
|
||||
type_t **args = malloc(sizeof *args * ref->val.fun.nargs);
|
||||
if (!args) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user