diff options
Diffstat (limited to 'libgloss/read.c')
-rw-r--r-- | libgloss/read.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libgloss/read.c b/libgloss/read.c index 24108ce0d..83a3b549b 100644 --- a/libgloss/read.c +++ b/libgloss/read.c @@ -22,10 +22,11 @@ extern char inbyte (void); */ int read (int fd, - char *buf, - int nbytes) + void *buf_, + size_t nbytes) { int i = 0; + char *buf = buf_; for (i = 0; i < nbytes; i++) { *(buf + i) = inbyte(); |