From 02423c2d7db8391e31f69f0d94125abdbe4ec7fd Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sun, 27 Apr 2025 14:07:01 +0200 Subject: [PATCH] [WRAPPERHELPER] Fixed a small issue with the parser --- wrapperhelper/src/lang.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrapperhelper/src/lang.c b/wrapperhelper/src/lang.c index 8dad5cb12..81d415311 100644 --- a/wrapperhelper/src/lang.c +++ b/wrapperhelper/src/lang.c @@ -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) {