summaryrefslogtreecommitdiff
path: root/string/argz.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1998-09-05 04:01:08 +0000
committerRoland McGrath <roland@gnu.org>1998-09-05 04:01:08 +0000
commit62ee0979f4f39c98e6d8eb91bba2b480db035bfd (patch)
treed2e1f3969a9489502d93305b2bc4c0894674441b /string/argz.h
parent59cacc8162df151f12590ea4918cccb624abc275 (diff)
downloadglibc-62ee0979f4f39c98e6d8eb91bba2b480db035bfd.tar.gz
* string/argz.h (argz_next): Add de-consting cast for return.
Diffstat (limited to 'string/argz.h')
-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)