aboutsummaryrefslogtreecommitdiff
path: root/console-client
diff options
context:
space:
mode:
authorEtienne Brateau <etienne.brateau@gmail.com>2022-08-29 21:36:17 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-08-29 21:51:19 +0200
commit5adb4b834b1eba82b7f3eca6324bed0355cae0af (patch)
tree3666abd2c80c0821cb365a4238e6ae6ee0964d86 /console-client
parentac09ca6c033185382fbfb60e5e47fd1e8a85f6aa (diff)
downloadhurd-5adb4b834b1eba82b7f3eca6324bed0355cae0af.tar.gz
hurd-5adb4b834b1eba82b7f3eca6324bed0355cae0af.tar.bz2
hurd-5adb4b834b1eba82b7f3eca6324bed0355cae0af.zip
Fix types of read write and readables methods
Message-Id: <20220829193617.13481-1-etienne.brateau@gmail.com>
Diffstat (limited to 'console-client')
-rw-r--r--console-client/trans.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/console-client/trans.c b/console-client/trans.c
index fe4b9ca4..49e30a61 100644
--- a/console-client/trans.c
+++ b/console-client/trans.c
@@ -578,7 +578,7 @@ netfs_S_io_read (struct protid *user,
data_t *data,
mach_msg_type_number_t *datalen,
off_t offset,
- mach_msg_type_number_t amount)
+ vm_size_t amount)
{
struct node *np;
@@ -597,7 +597,7 @@ netfs_S_io_write (struct protid *user,
const_data_t data,
mach_msg_type_number_t datalen,
off_t offset,
- mach_msg_type_number_t *amount)
+ vm_size_t *amount)
{
struct node *np;