aboutsummaryrefslogtreecommitdiff
path: root/stdio/fgets.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio/fgets.c')
-rw-r--r--stdio/fgets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio/fgets.c b/stdio/fgets.c
index 01d4d9d095..4526c704c3 100644
--- a/stdio/fgets.c
+++ b/stdio/fgets.c
@@ -101,7 +101,7 @@ fgets (s, n, stream)
if (i > n)
i = n;
- found = (char *) __memccpy ((PTR) p, stream->__bufp, '\n', i);
+ found = (char *) __memccpy ((void *) p, stream->__bufp, '\n', i);
if (found != NULL)
{