aboutsummaryrefslogtreecommitdiff
path: root/string/argz-next.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/argz-next.c')
-rw-r--r--string/argz-next.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string/argz-next.c b/string/argz-next.c
index 6149c7e..416b982 100644
--- a/string/argz-next.c
+++ b/string/argz-next.c
@@ -28,7 +28,7 @@ __argz_next (char *argz, size_t argz_len, const char *entry)
if (entry < argz + argz_len)
entry = strchr (entry, '\0') + 1;
- return entry >= argz + argz_len ? NULL : entry;
+ return entry >= argz + argz_len ? NULL : (char *) entry;
}
else
if (argz_len > 0)