aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib/lists.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-04-15 19:59:14 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-04-15 19:59:14 -0400
commite5420471a7364a92521575e7abd3a29a9318001b (patch)
tree6b7aaccff3d033fdc49cee41874071637fa8b68e /src/stdlib/lists.c
parentc3615dc92c667899af7a11b2b25201dad5502ee6 (diff)
Make some compatibility fixes to make sure the compiler can fully build
using TinyCC
Diffstat (limited to 'src/stdlib/lists.c')
-rw-r--r--src/stdlib/lists.c3
1 files changed, 2 insertions, 1 deletions
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;
}