diff options
Diffstat (limited to 'libgloss/write.c')
-rw-r--r-- | libgloss/write.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libgloss/write.c b/libgloss/write.c index 28b7ea3..80bcd4a 100644 --- a/libgloss/write.c +++ b/libgloss/write.c @@ -23,10 +23,11 @@ extern int outbyte (char x); */ int write (int fd, - char *buf, - int nbytes) + const void *buf_, + size_t nbytes) { int i; + const char *buf = buf_; for (i = 0; i < nbytes; i++) { if (*(buf + i) == '\n') { |