From 6399beda8a82855d34fca3fa1d178753c10fffdd Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Fri, 16 Oct 2015 15:49:10 -0400 Subject: [PATCH] Fix: Silence missing sentinel warnings on GCC 4 Signed-off-by: Michael Jeanson --- tests/lib/test_ctf_writer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.34.1