diff --git a/tests/std_tests/check_std_c_alloc.c b/tests/std_tests/check_std_c_alloc.c index b3397cc53..aa1a0c715 100644 --- a/tests/std_tests/check_std_c_alloc.c +++ b/tests/std_tests/check_std_c_alloc.c @@ -30,7 +30,7 @@ END_TEST START_TEST (check_c_strdup) { - char *str = "test"; + char *str = (char *) "test"; char *dup; dup = c_strdup(str); @@ -40,7 +40,7 @@ START_TEST (check_c_strdup) END_TEST static Suite *make_c_malloc_suite(void) { - Suite *s = suite_create("std:path:c_malloc"); + Suite *s = suite_create("std:alloc:malloc"); create_case(s, "check_c_malloc", check_c_malloc); create_case(s, "check_c_malloc_zero", check_c_malloc_zero); @@ -49,7 +49,7 @@ static Suite *make_c_malloc_suite(void) { } static Suite *make_c_strdup_suite(void) { - Suite *s = suite_create("std:path:c_malloc"); + Suite *s = suite_create("std:alloc:strdup"); create_case(s, "check_c_strdup", check_c_strdup); diff --git a/tests/std_tests/check_std_c_str.c b/tests/std_tests/check_std_c_str.c index 83d188f03..69477c4f5 100644 --- a/tests/std_tests/check_std_c_str.c +++ b/tests/std_tests/check_std_c_str.c @@ -63,7 +63,7 @@ START_TEST (check_c_strlist_add) fail_unless(strlist->count == 0, NULL); for (i = 0; i < strlist->size; i++) { - fail_unless(c_strlist_add(strlist, "foobar") == 0, NULL); + fail_unless(c_strlist_add(strlist, (char *) "foobar") == 0, NULL); } fail_unless(strlist->count == 42, NULL);