Introduction
Introduction Statistics Contact Development Disclaimer Help
Fix clang warning - noice - small file browser (mirror / fork from 2f30.org)
git clone git://git.codemadness.org/noice
Log
Files
Refs
README
LICENSE
---
commit 1685b556f23b8c4782e91e020ad74ffcda8010fb
parent 4a11ff268e65b47811079b202b2d109037e47ca0
Author: sin <[email protected]>
Date: Thu, 22 Aug 2019 16:39:00 +0100
Fix clang warning
Diffstat:
M spawn.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/spawn.c b/spawn.c
@@ -44,7 +44,7 @@ spawnlp(char *dir, char *file, char *argv0, ...)
va_start(ap, argv0);
argv[0] = argv0;
- for (argc = 1; argv[argc] = va_arg(ap, char *); argc++)
+ for (argc = 1; (argv[argc] = va_arg(ap, char *)) != (void *)0; argc++)
;
argv[argc] = NULL;
va_end(ap);
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.