summaryrefslogtreecommitdiff
path: root/storeio
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-08-08 01:44:19 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-08-08 02:28:06 +0200
commite9ac14979a70d0b36684fb4bac031daa7dcb9a6a (patch)
treee69f9022b401279db40640416b5f01e4b9e8a79a /storeio
parent71ce0089f78fc27231f39e9aef7356e9e72ed759 (diff)
Get rid of u_int in RPCs
To get mach_msg_type_number_t everywhere
Diffstat (limited to 'storeio')
-rw-r--r--storeio/storeio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/storeio/storeio.c b/storeio/storeio.c
index fb9a0041..4e8a9628 100644
--- a/storeio/storeio.c
+++ b/storeio/storeio.c
@@ -227,7 +227,7 @@ getroot_hook (struct trivfs_control *cntl,
mach_port_t reply_port,
mach_msg_type_name_t reply_port_type,
mach_port_t dotdot,
- const uid_t *uids, u_int nuids, const uid_t *gids, u_int ngids,
+ const uid_t *uids, mach_msg_type_number_t nuids, const uid_t *gids, mach_msg_type_number_t ngids,
int flags,
retry_type *do_retry, char *retry_name,
mach_port_t *node, mach_msg_type_name_t *node_type)
@@ -413,7 +413,7 @@ error_t (*trivfs_getroot_hook) (struct trivfs_control *cntl,
mach_port_t reply_port,
mach_msg_type_name_t reply_port_type,
mach_port_t dotdot,
- const uid_t *uids, u_int nuids, const uid_t *gids, u_int ngids,
+ const uid_t *uids, mach_msg_type_number_t nuids, const uid_t *gids, mach_msg_type_number_t ngids,
int flags,
retry_type *do_retry, char *retry_name,
mach_port_t *node, mach_msg_type_name_t *node_type)