From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-f66.google.com (mail-lf1-f66.google.com [209.85.167.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 6BC37469719 for ; Fri, 28 Feb 2020 12:48:32 +0300 (MSK) Received: by mail-lf1-f66.google.com with SMTP id y17so1616515lfe.8 for ; Fri, 28 Feb 2020 01:48:32 -0800 (PST) From: Cyrill Gorcunov Date: Fri, 28 Feb 2020 12:48:14 +0300 Message-Id: <20200228094815.13826-2-gorcunov@gmail.com> In-Reply-To: <20200228094815.13826-1-gorcunov@gmail.com> References: <20200228094815.13826-1-gorcunov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 1/2] popen: fix empty envp type for nonlinux builds List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tml Fix for f58cb606a Signed-off-by: Cyrill Gorcunov --- 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