From e5420471a7364a92521575e7abd3a29a9318001b Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 15 Apr 2025 19:59:14 -0400 Subject: Make some compatibility fixes to make sure the compiler can fully build using TinyCC --- src/stdlib/functiontype.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/stdlib/functiontype.c') diff --git a/src/stdlib/functiontype.c b/src/stdlib/functiontype.c index 8c864611..f169057a 100644 --- a/src/stdlib/functiontype.c +++ b/src/stdlib/functiontype.c @@ -89,8 +89,9 @@ public Text_t Func$as_text(const void *fn, bool colorize, const TypeInfo_t *type return text; } -public PUREFUNC bool Func$is_none(const void *obj, const TypeInfo_t*) +public PUREFUNC bool Func$is_none(const void *obj, const TypeInfo_t *info) { + (void)info; return *(void**)obj == NULL; } -- cgit v1.2.3