From 218fa699522616426cbcbcaee474e070b7ad7a1c Mon Sep 17 00:00:00 2001 From: Davide Bettio Date: Sun, 29 Dec 2024 01:34:55 +0100 Subject: [PATCH] WIP: term_list_length-use-bool Signed-off-by: Davide Bettio --- src/libAtomVM/term.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libAtomVM/term.h b/src/libAtomVM/term.h index e70c80330..4d631626d 100644 --- a/src/libAtomVM/term.h +++ b/src/libAtomVM/term.h @@ -1380,7 +1380,7 @@ static inline term term_list_prepend(term head, term tail, Heap *heap) * @details Counts the number of list items * @return number of list items */ -static inline int term_list_length(term t, int *proper) +static inline int term_list_length(term t, bool *proper) { int len = 0;