aboutsummaryrefslogtreecommitdiff
path: root/trans/firmlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'trans/firmlink.c')
-rw-r--r--trans/firmlink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/trans/firmlink.c b/trans/firmlink.c
index 8a5d01a8..e216146a 100644
--- a/trans/firmlink.c
+++ b/trans/firmlink.c
@@ -207,7 +207,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 = 0;
@@ -244,7 +244,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)
{
if (! cred)
return EOPNOTSUPP;