aboutsummaryrefslogtreecommitdiff
path: root/storeio/open.c
diff options
context:
space:
mode:
Diffstat (limited to 'storeio/open.c')
-rw-r--r--storeio/open.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/storeio/open.c b/storeio/open.c
index f27dc3ab..b1013a94 100644
--- a/storeio/open.c
+++ b/storeio/open.c
@@ -52,7 +52,7 @@ open_free (struct open *open)
and returns the number of bytes written in AMOUNT. If no error occurs,
zero is returned, otherwise the error code is returned. */
error_t
-open_write (struct open *open, off_t offs, char *buf, size_t len,
+open_write (struct open *open, off_t offs, void *buf, size_t len,
vm_size_t *amount)
{
error_t err;
@@ -75,7 +75,7 @@ open_write (struct open *open, off_t offs, char *buf, size_t len,
otherwise the error code is returned. */
error_t
open_read (struct open *open, off_t offs, size_t amount,
- char **buf, vm_size_t *len)
+ void **buf, vm_size_t *len)
{
error_t err;
if (offs < 0)