From ed485b28e3bb1e7a3dbb5416d4f493474b8a5bec Mon Sep 17 00:00:00 2001 From: Kozar Date: Sun, 10 Nov 2024 14:49:17 +0000 Subject: [PATCH] Initializacia --- cv7/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cv7/program.c b/cv7/program.c index ffa74e2..ffd0948 100644 --- a/cv7/program.c +++ b/cv7/program.c @@ -56,7 +56,7 @@ void destroy_tree(struct tree* tree){ void count_items(struct tree* tree, int* count){ if(tree->left == NULL && tree->right == NULL){ - (*count)++ + (*count)++; }else{ count_items(tree->left, count); count_items(tree->right, count);