summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-09-23 19:58:21 +0000
committerMiles Bader <miles@gnu.org>1996-09-23 19:58:21 +0000
commit5f5a34e1846c2139be4dc9da8e712cf91778ac94 (patch)
tree1942f359c1908deb7ffe3fbe8aa94346a6e37965
parent8cc2430acba3dd2743555fa2ae1c9edfd53c96c7 (diff)
(trivfs_S_io_read, trivfs_S_io_write):
Use void * buffers.
-rw-r--r--storeio/io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/storeio/io.c b/storeio/io.c
index 67d43c41..edab8e6d 100644
--- a/storeio/io.c
+++ b/storeio/io.c
@@ -84,7 +84,7 @@ trivfs_S_io_read (struct trivfs_protid *cred,
return EBADF;
else
return open_read ((struct open *)cred->po->hook,
- offs, amount, (char **)data, data_len);
+ offs, amount, (void **)data, data_len);
}
/* Tell how much data can be read from the object without blocking for
@@ -126,7 +126,7 @@ trivfs_S_io_write (struct trivfs_protid *cred,
return EBADF;
else
return open_write ((struct open *)cred->po->hook,
- offs, (char *)data, data_len, amount);
+ offs, (void *)data, data_len, amount);
}
/* Change current read/write offset */