From ee2abea27f8239583e8e271e253609083a37e3c4 Mon Sep 17 00:00:00 2001 From: shinwell Date: Fri, 2 Jun 2006 14:36:45 +0000 Subject: * pex-unix.c (pex_unix_exec_child): Insert cast when assigning to environ. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114326 138bc75d-0d04-0410-961f-82ee72b054a4 --- libiberty/ChangeLog | 5 +++++ libiberty/pex-unix.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'libiberty') diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index e2899c0ae09..93f8449f65b 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,8 @@ +2006-06-02 Mark Shinwell + + * pex-unix.c (pex_unix_exec_child): Insert cast when assigning + to environ. + 2006-06-01 Mark Shinwell * pex-common.c: New function pex_run_in_environment. diff --git a/libiberty/pex-unix.c b/libiberty/pex-unix.c index 91619af1e2c..e006e599297 100644 --- a/libiberty/pex-unix.c +++ b/libiberty/pex-unix.c @@ -415,7 +415,7 @@ pex_unix_exec_child (struct pex_obj *obj, int flags, const char *executable, } if (env) - environ = env; + environ = (char**) env; if ((flags & PEX_SEARCH) != 0) { -- cgit v1.2.1