From: Cyrill Gorcunov <gorcunov@gmail.com> To: tml <tarantool-patches@dev.tarantool.org> Subject: [Tarantool-patches] [PATCH] popen: fix empty envp type for nonlinux builds Date: Fri, 28 Feb 2020 10:49:14 +0300 [thread overview] Message-ID: <20200228074914.3091-1-gorcunov@gmail.com> (raw) 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
next reply other threads:[~2020-02-28 7:49 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-02-28 7:49 Cyrill Gorcunov [this message] 2020-02-28 8:52 ` Cyrill Gorcunov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20200228074914.3091-1-gorcunov@gmail.com \ --to=gorcunov@gmail.com \ --cc=tarantool-patches@dev.tarantool.org \ --subject='Re: [Tarantool-patches] [PATCH] popen: fix empty envp type for nonlinux builds' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox