Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH] popen: fix empty envp type for nonlinux builds
@ 2020-02-28  7:49 Cyrill Gorcunov
  2020-02-28  8:52 ` Cyrill Gorcunov
  0 siblings, 1 reply; 2+ messages in thread
From: Cyrill Gorcunov @ 2020-02-28  7:49 UTC (permalink / raw)
  To: tml

Fix for f58cb606a

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
---
 src/lib/core/popen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/core/popen.c b/src/lib/core/popen.c
index 2f27b49a2..1cfe58ee0 100644
--- a/src/lib/core/popen.c
+++ b/src/lib/core/popen.c
@@ -612,7 +612,7 @@ get_envp(struct popen_opts *opts)
 		if (!said)
 			say_warn("popen: Environment inheritance "
 				 "unsupported, passing empty");
-		return (char *)empty_envp;
+		return (char **)empty_envp;
 #endif
 	}
 	return opts->env;
-- 
2.20.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-02-28  8:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-28  7:49 [Tarantool-patches] [PATCH] popen: fix empty envp type for nonlinux builds Cyrill Gorcunov
2020-02-28  8:52 ` Cyrill Gorcunov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox