summary refs log tree commit diff
path: root/stdio/getdelim.c
diff options
context:
space:
mode:
authorThomas Bushnell, BSG <thomas@gnu.org>1996-10-08 18:38:08 +0000
committerThomas Bushnell, BSG <thomas@gnu.org>1996-10-08 18:38:08 +0000
commitce7f605ba7d119d7aae336117a306167ede44916 (patch)
tree58b06149239c7abd2286d05f33155a7c36c1f2b3 /stdio/getdelim.c
parentb853ee82a2701bc91a8e5215191901ea37227647 (diff)
downloadglibc-ce7f605ba7d119d7aae336117a306167ede44916.tar.gz
glibc-ce7f605ba7d119d7aae336117a306167ede44916.tar.xz
glibc-ce7f605ba7d119d7aae336117a306167ede44916.zip
*** empty log message ***
Tue Oct  8 13:58:31 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>

	* hurd/ports-get.c (_hurd_ports_get): If the requested port is
	null, don't attempt mach_port_mod_refs.
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;