From 565861de3b6357339fdcd087fa52fc4c14b6de24 Mon Sep 17 00:00:00 2001 From: Steffen Prohaska Date: Sat, 17 Nov 2007 23:01:56 +0100 Subject: [PATCH] spawn-pipe.c: Remove unnecessary cast Signed-off-by: Steffen Prohaska --- spawn-pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spawn-pipe.c b/spawn-pipe.c index 04146d5631..e685eff643 100644 --- a/spawn-pipe.c +++ b/spawn-pipe.c @@ -103,7 +103,7 @@ int spawnvppe_pipe(const char *cmd, const char **argv, const char **env, qargv = xmalloc((argc+2)*sizeof(char*)); if (!interpr) { quote_argv(qargv, argv); - pid = spawnve(_P_NOWAIT, prog, qargv, (const char**) env); + pid = spawnve(_P_NOWAIT, prog, qargv, env); } else { qargv[0] = interpr; argv[0] = prog;