Converting a literal to null pointer produces a warning

This commit is contained in:
Dale Weiler 2014-10-16 22:55:16 -04:00
parent a371c4ee27
commit fa7d44e0c7

2
test.c
View file

@ -85,7 +85,7 @@ static fs_file_t **task_popen(const char *command, const char *mode) {
while (*line != '\0' && *line != ' ' &&
*line != '\t' && *line != '\n') line++;
}
vec_push(argv, '\0');
vec_push(argv, (char *)0);
}