summaryrefslogtreecommitdiff
path: root/libiberty/pex-unix.c
diff options
context:
space:
mode:
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)
{