mirror of
https://github.com/ptitSeb/box64.git
synced 2026-11-07 09:26:11 -10:00
[WRAPPERHELPER] Fixed a small issue with the parser
This commit is contained in:
1 parent
4add55aa45
commit
02423c2d7d
1 file changed
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user