summaryrefslogtreecommitdiff
path: root/libiberty/pex-unix.c
diff options
context:
space:
mode:
authorshinwell <shinwell@138bc75d-0d04-0410-961f-82ee72b054a4>2006-06-02 14:36:45 +0000
committershinwell <shinwell@138bc75d-0d04-0410-961f-82ee72b054a4>2006-06-02 14:36:45 +0000
commitee2abea27f8239583e8e271e253609083a37e3c4 (patch)
treede8644f135ce2bbe41b3f3b45272e60f254a25f9 /libiberty/pex-unix.c
parent6613266fcb3192c7605f3966ab47bacf9fa02d21 (diff)
downloadgcc-ee2abea27f8239583e8e271e253609083a37e3c4.tar.gz
* 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
Diffstat (limited to 'libiberty/pex-unix.c')
-rw-r--r--libiberty/pex-unix.c2
1 files changed, 1 insertions, 1 deletions
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)
{