summaryrefslogtreecommitdiff
path: root/string/argz-extract.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1998-09-05 04:03:21 +0000
committerRoland McGrath <roland@gnu.org>1998-09-05 04:03:21 +0000
commit531e4bca8ea2931051e9ba458e2f486ac56d712a (patch)
treed9bf2727e9041118fd6878e5ebd3ff050cf858b3 /string/argz-extract.c
parent62ee0979f4f39c98e6d8eb91bba2b480db035bfd (diff)
downloadglibc-531e4bca8ea2931051e9ba458e2f486ac56d712a.tar.gz
* string/argz-extract.c (__argz_extract): Add de-consting cast for
setting results. * string/argz-next.c (__argz_next): Likewise.
Diffstat (limited to 'string/argz-extract.c')
-rw-r--r--string/argz-extract.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string/argz-extract.c b/string/argz-extract.c
index f03272c9ec..5541caa2ca 100644
--- a/string/argz-extract.c
+++ b/string/argz-extract.c
@@ -28,7 +28,7 @@ __argz_extract (const char *argz, size_t len, char **argv)
while (len > 0)
{
size_t part_len = strlen (argz);
- *argv++ = argz;
+ *argv++ = (char *) argz;
argz += part_len + 1;
len -= part_len + 1;
}