diff options
Diffstat (limited to 'stdio/getdelim.c')
-rw-r--r-- | stdio/getdelim.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/stdio/getdelim.c b/stdio/getdelim.c index 761c798..0a6e561 100644 --- a/stdio/getdelim.c +++ b/stdio/getdelim.c @@ -135,7 +135,8 @@ __getdelim (lineptr, n, terminator, stream) if (i > copy) i = copy; - found = (char *) __memccpy ((PTR) p, stream->__bufp, terminator, i); + found = (char *) __memccpy ((void *) p, stream->__bufp, + terminator, i); if (found != NULL) { stream->__bufp += found - p; |