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/lists.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/stdlib/lists.c') diff --git a/src/stdlib/lists.c b/src/stdlib/lists.c index fb6c4fb9..af0d1e0a 100644 --- a/src/stdlib/lists.c +++ b/src/stdlib/lists.c @@ -763,8 +763,9 @@ public Int_t List$binary_search(List_t list, void *target, Closure_t comparison) return I(lo+1); // Return the index where the target would be inserted } -public PUREFUNC bool List$is_none(const void *obj, const TypeInfo_t*) +public PUREFUNC bool List$is_none(const void *obj, const TypeInfo_t *info) { + (void)info; return ((List_t*)obj)->length < 0; } -- cgit v1.2.3