From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-f67.google.com (mail-lf1-f67.google.com [209.85.167.67]) (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 92746469719 for ; Fri, 28 Feb 2020 10:49:18 +0300 (MSK) Received: by mail-lf1-f67.google.com with SMTP id z5so1362872lfd.12 for ; Thu, 27 Feb 2020 23:49:18 -0800 (PST) From: Cyrill Gorcunov Date: Fri, 28 Feb 2020 10:49:14 +0300 Message-Id: <20200228074914.3091-1-gorcunov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH] 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