summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-07-16 23:02:03 +0000
committerJim Meyering <jim@meyering.net>1998-07-16 23:02:03 +0000
commitf89f495c0ddc24dc478e37ff42a058251bc62129 (patch)
tree88ab10571806bcc47dfc570a5a32b8537e87d75e /lib
parent5e3e9e7a15220b98aa5118de3a1f0e7b8789ff29 (diff)
downloadcoreutils-f89f495c0ddc24dc478e37ff42a058251bc62129.tar.xz
(safe_read): Change type of pointer parameter to
`void' to avoid Irix4 cc errors. Reported by Kaveh Ghazi.
Diffstat (limited to 'lib')
-rw-r--r--lib/safe-read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/safe-read.c b/lib/safe-read.c
index eb0566bda..e404586c7 100644
--- a/lib/safe-read.c
+++ b/lib/safe-read.c
@@ -38,7 +38,7 @@ extern int errno;
for an error. */
ssize_t
-safe_read (int desc, char *ptr, size_t len)
+safe_read (int desc, void *ptr, size_t len)
{
ssize_t n_chars;