mirror of
https://github.com/coreutils/coreutils.git
synced 2024-12-04 15:33:34 +08:00
(safe_read): Change type of pointer parameter to
`void' to avoid Irix4 cc errors. Reported by Kaveh Ghazi.
This commit is contained in:
parent
5e3e9e7a15
commit
f89f495c0d
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user