diff options
Diffstat (limited to 'src/stdlib/lists.c')
| -rw-r--r-- | src/stdlib/lists.c | 3 |
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; } |
