diff options
author | Mark Shinwell <shinwell@codesourcery.com> | 2006-06-02 14:36:45 +0000 |
---|---|---|
committer | Mark Shinwell <shinwell@gcc.gnu.org> | 2006-06-02 14:36:45 +0000 |
commit | 239559e797304a6b682ee1cd183ed81170e38356 (patch) | |
tree | de8644f135ce2bbe41b3f3b45272e60f254a25f9 /libiberty | |
parent | 3fb385fe58f3f3d83b506e59985d759193b895a4 (diff) | |
download | gcc-239559e797304a6b682ee1cd183ed81170e38356.zip gcc-239559e797304a6b682ee1cd183ed81170e38356.tar.gz gcc-239559e797304a6b682ee1cd183ed81170e38356.tar.bz2 |
pex-unix.c (pex_unix_exec_child): Insert cast when assigning to environ.
* pex-unix.c (pex_unix_exec_child): Insert cast when assigning
to environ.
From-SVN: r114326
Diffstat (limited to 'libiberty')
-rw-r--r-- | libiberty/ChangeLog | 5 | ||||
-rw-r--r-- | libiberty/pex-unix.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index e2899c0..93f8449 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,8 @@ +2006-06-02 Mark Shinwell <shinwell@codesourcery.com> + + * pex-unix.c (pex_unix_exec_child): Insert cast when assigning + to environ. + 2006-06-01 Mark Shinwell <shinwell@codesourcery.com> * pex-common.c: New function pex_run_in_environment. diff --git a/libiberty/pex-unix.c b/libiberty/pex-unix.c index 91619af..e006e59 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) { |