aboutsummaryrefslogtreecommitdiff
path: root/stdio/getdelim.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio/getdelim.c')
-rw-r--r--stdio/getdelim.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/stdio/getdelim.c b/stdio/getdelim.c
index 761c7980c1..0a6e561ae6 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;