From e9ac14979a70d0b36684fb4bac031daa7dcb9a6a Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 8 Aug 2023 01:44:19 +0200 Subject: Get rid of u_int in RPCs To get mach_msg_type_number_t everywhere --- libtrivfs/priv.c | 2 +- libtrivfs/trivfs.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libtrivfs') diff --git a/libtrivfs/priv.c b/libtrivfs/priv.c index f4d9898f..6eaabe3d 100644 --- a/libtrivfs/priv.c +++ b/libtrivfs/priv.c @@ -54,7 +54,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) diff --git a/libtrivfs/trivfs.h b/libtrivfs/trivfs.h index 25b601ff..6e545428 100644 --- a/libtrivfs/trivfs.h +++ b/libtrivfs/trivfs.h @@ -150,7 +150,7 @@ typedef error_t (*trivfs_getroot_hook_fun) (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); -- cgit v1.2.3