From 50cc2c4e5dcb08f229f5e53a18c52397b9598379 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Sat, 14 Sep 1996 17:40:35 +0000 Subject: (dev_write, dev_read): Use void * for buffers, not char *. --- libstore/device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libstore/device.c b/libstore/device.c index f6d77bdd..88b34f73 100644 --- a/libstore/device.c +++ b/libstore/device.c @@ -31,7 +31,7 @@ static error_t dev_read (struct store *store, off_t addr, size_t index, mach_msg_type_number_t amount, - char **buf, mach_msg_type_number_t *len) + void **buf, mach_msg_type_number_t *len) { #if 1 return device_read (store->port, 0, addr, amount, (io_buf_ptr_t *)buf, len); @@ -53,7 +53,7 @@ dev_read (struct store *store, static error_t dev_write (struct store *store, - off_t addr, size_t index, char *buf, mach_msg_type_number_t len, + off_t addr, size_t index, void *buf, mach_msg_type_number_t len, mach_msg_type_number_t *amount) { #if 1 -- cgit v1.2.3