small fix

This commit is contained in:
Jonas Urban 2025-12-11 10:57:56 +01:00
parent c8edc1a619
commit c3def11852

View File

@ -29,7 +29,7 @@ void test_addToTree_multiple_elements_and_size(void)
{
TreeNode *root = NULL;
int values[] = {5, 3, 7, 1, 4};
int dup = -1;
int dup = 0;
for (int i = 0; i < 5; i++)
root = addToTree(root, &values[i], sizeof(int), compare, &dup);