Fix: Silence missing sentinel warnings on GCC 4
authorMichael Jeanson <mjeanson@efficios.com>
Fri, 16 Oct 2015 19:49:10 +0000 (15:49 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Fri, 16 Oct 2015 19:49:10 +0000 (15:49 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
tests/lib/test_ctf_writer.c

index 68bb2705ed42c13a7254e754eb981deb899dadbb..ee979f0b1b3f5a88c783752f478d936b43a42f63 100644 (file)
@@ -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);
        }
This page took 0.025063 seconds and 4 git commands to generate.