about summary refs log tree commit diff
path: root/string
diff options
context:
space:
mode:
Diffstat (limited to 'string')
-rw-r--r--string/argz.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/string/argz.h b/string/argz.h
index 49445bc3f7..cdd9c50400 100644
--- a/string/argz.h
+++ b/string/argz.h
@@ -147,7 +147,7 @@ __argz_next (__const char *__argz, size_t __argz_len, __const char *__entry)
       return __entry >= __argz + __argz_len ? (char *) NULL : (char *) __entry;
     }
   else
-    return __argz_len > 0 ? __argz : 0;
+    return __argz_len > 0 ? (char *) __argz : 0;
 }
 extern inline char *
 argz_next (__const char *__argz, size_t __argz_len, __const char *__entry)