From: Dale Weiler Date: Fri, 17 Oct 2014 02:55:16 +0000 (-0400) Subject: Converting a literal to null pointer produces a warning X-Git-Tag: xonotic-v0.8.1~10 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fa7d44e0c7d67a0c6cb9b59f00328569100721b1;p=xonotic%2Fgmqcc.git Converting a literal to null pointer produces a warning --- 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); }