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;