X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=tests%2Flib%2Ftest_ctf_writer.c;h=ee979f0b1b3f5a88c783752f478d936b43a42f63;hp=68bb2705ed42c13a7254e754eb981deb899dadbb;hb=6399beda8a82855d34fca3fa1d178753c10fffdd;hpb=7170c7756883280ba6821371ce08818457d493fd diff --git a/tests/lib/test_ctf_writer.c b/tests/lib/test_ctf_writer.c index 68bb2705..ee979f0b 100644 --- a/tests/lib/test_ctf_writer.c +++ b/tests/lib/test_ctf_writer.c @@ -94,7 +94,7 @@ void validate_metadata(char *parser_path, char *metadata_path) goto result; } - execl(parser_path, "ctf-parser-test", NULL); + execl(parser_path, "ctf-parser-test", (char *) NULL); perror("# Could not launch the ctf metadata parser process"); exit(-1); } @@ -201,7 +201,7 @@ void validate_trace(char *parser_path, char *trace_path) goto result; } - execl(parser_path, "babeltrace", trace_path, NULL); + execl(parser_path, "babeltrace", trace_path, (char *) NULL); perror("# Could not launch the babeltrace process"); exit(-1); }