From fa7d44e0c7d67a0c6cb9b59f00328569100721b1 Mon Sep 17 00:00:00 2001 From: Dale Weiler Date: Thu, 16 Oct 2014 22:55:16 -0400 Subject: [PATCH] Converting a literal to null pointer produces a warning --- test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.c b/test.c index c726b02..370861e 100644 --- a/test.c +++ b/test.c @@ -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); } -- 2.39.2