From 373728f324b82d305748cfe3c853053fe2a9f761 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 26 Mar 2023 02:01:04 +0200 Subject: struct member naming --- src/ast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ast.c') diff --git a/src/ast.c b/src/ast.c index 50cf268..c80dd26 100644 --- a/src/ast.c +++ b/src/ast.c @@ -2786,7 +2786,7 @@ int ast_call_on(int (*call)(struct ast_node *, size_t ast_list_len(struct ast_node *node) { - size_t count = 1; + size_t count = 0; while (node) { count++; node = node->next; -- cgit v1.3