diff options
Diffstat (limited to 'string')
-rw-r--r-- | string/argz-extract.c | 2 | ||||
-rw-r--r-- | string/argz-next.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/string/argz-extract.c b/string/argz-extract.c index f03272c..5541caa 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; } diff --git a/string/argz-next.c b/string/argz-next.c index edb4956..b3dab09 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; } |