about summary refs log tree commit diff
path: root/string/argz-extract.c
diff options
context:
space:
mode:
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;
     }