Skip to content

Commit

Permalink
WIP: term_list_length-use-bool
Browse files Browse the repository at this point in the history
Signed-off-by: Davide Bettio <[email protected]>
  • Loading branch information
bettio committed Dec 29, 2024
1 parent 74258a1 commit 218fa69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libAtomVM/term.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 218fa69

Please sign in to comment.