about summary refs log tree commit diff
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 edb495653e..b3dab09be0 100644
--- a/string/argz-next.c
+++ b/string/argz-next.c
@@ -33,7 +33,7 @@ __argz_next (const char *argz, size_t argz_len, const char *entry)
     }
   else
     if (argz_len > 0)
-      return argz;
+      return (char *) argz;
     else
       return NULL;
 }