From 5adb4b834b1eba82b7f3eca6324bed0355cae0af Mon Sep 17 00:00:00 2001 From: Etienne Brateau Date: Mon, 29 Aug 2022 21:36:17 +0200 Subject: Fix types of read write and readables methods Message-Id: <20220829193617.13481-1-etienne.brateau@gmail.com> --- trans/streamio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'trans/streamio.c') diff --git a/trans/streamio.c b/trans/streamio.c index 30b8b20e..acd5d674 100644 --- a/trans/streamio.c +++ b/trans/streamio.c @@ -482,7 +482,7 @@ error_t trivfs_S_io_read (struct trivfs_protid *cred, mach_port_t reply, mach_msg_type_name_t reply_type, data_t *data, mach_msg_type_number_t *data_len, - loff_t offs, mach_msg_type_number_t amount) + off_t offs, vm_size_t amount) { error_t err; @@ -501,7 +501,7 @@ trivfs_S_io_read (struct trivfs_protid *cred, error_t trivfs_S_io_readable (struct trivfs_protid *cred, mach_port_t reply, mach_msg_type_name_t reply_type, - mach_msg_type_number_t *amount) + vm_size_t *amount) { error_t err; @@ -521,7 +521,7 @@ error_t trivfs_S_io_write (struct trivfs_protid *cred, mach_port_t reply, mach_msg_type_name_t reply_type, const_data_t data, mach_msg_type_number_t data_len, - loff_t offs, mach_msg_type_number_t *amount) + off_t offs, vm_size_t *amount) { error_t err; -- cgit v1.2.3