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);