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;