]> granicus.if.org Git - check/commitdiff
Pass in print_output to srunner_run_all in test_null
authorbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Mon, 23 Jun 2014 04:13:48 +0000 (04:13 +0000)
committerbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Mon, 23 Jun 2014 04:13:48 +0000 (04:13 +0000)
Change was necessary to get Check to compile on a c++
compiler

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@1166 64e312b2-a51f-0410-8e61-82d0ca0eb02a

tests/check_check_sub.c

index b536b61bfbad71414324baccc393708477f9cb04..39815257e162cfcff41e222e7d5d97bf09742f93 100644 (file)
@@ -620,7 +620,7 @@ START_TEST(test_null)
   suite_add_tcase (s, NULL);
   tcase_add_test (tc, NULL);
   srunner_free(srunner_create(NULL));
-  srunner_run_all (NULL, -1);
+  srunner_run_all (NULL, (enum print_output)-1);
   srunner_free (NULL);
   ck_abort_msg("Completed properly");
 }