aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/argz/envz_merge.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/argz/envz_merge.c')
-rw-r--r--newlib/libc/argz/envz_merge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/argz/envz_merge.c b/newlib/libc/argz/envz_merge.c
index b017330..da2d8cb 100644
--- a/newlib/libc/argz/envz_merge.c
+++ b/newlib/libc/argz/envz_merge.c
@@ -20,7 +20,7 @@ envz_merge (char **envz, size_t *envz_len, const char *envz2, size_t envz2_len,
char *name_iter = NULL;
int retval = 0;
- while((entry = argz_next(envz2, envz2_len, entry)) && !retval)
+ while((entry = argz_next((char *)envz2, envz2_len, entry)) && !retval)
{
if (!override)
{