mirror of
https://github.com/ptitSeb/box64.git
synced 2025-05-08 16:18:30 +08:00
[WRAPPERHELPER] Fixed a small issue with the parser
This commit is contained in:
parent
4add55aa45
commit
02423c2d7d
@ -900,7 +900,7 @@ int type_copy_into(type_t *dest, const type_t *ref) {
|
||||
if (ref->val.fun.nargs != (size_t)-1) {
|
||||
if (!ref->val.fun.args) {
|
||||
dest->typ = TYPE_BUILTIN;
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
type_t **args = malloc(sizeof *args * ref->val.fun.nargs);
|
||||
if (!args) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user