diff --git a/tests/test.c b/tests/test.c index 07893ec61a8c0be1a4e73b8bf1df616d7036ec4d..4c95fd1feb4f463c8d199a1ea80daafaa20fea89 100644 --- a/tests/test.c +++ b/tests/test.c @@ -226,7 +226,7 @@ static MunitResult test_tree_print() nd = bst_insert(nd,7); nd = bst_insert(nd,14); nd = bst_insert(nd,13); - FILE* f = tmpfile(); + FILE* f = tmpfile; // Change by stdout for print in console bst_print(nd,f); char buffer[22];