From 228ff150ef5b76d387ba467cd56fa847f7b3b001 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 9 Dec 1994 06:22:54 +0000 Subject: Use mach_msg_type_number_t in place of unsigned int and int. --- boot/boot.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/boot/boot.c b/boot/boot.c index bef7efb3..14d0a89a 100644 --- a/boot/boot.c +++ b/boot/boot.c @@ -1426,9 +1426,9 @@ S_io_write (mach_port_t object, mach_port_t reply_port, mach_msg_type_name_t reply_type, char *data, - u_int datalen, + mach_msg_type_number_t datalen, off_t offset, - int *amtwritten) + mach_msg_type_number_t *amtwritten) { if (object != pseudo_console) return EOPNOTSUPP; @@ -1451,11 +1451,11 @@ S_io_read (mach_port_t object, mach_port_t reply_port, mach_msg_type_name_t reply_type, char **data, - u_int *datalen, + mach_msg_type_number_t *datalen, off_t offset, - int amount) + mach_msg_type_number_t amount) { - int avail; + mach_msg_type_number_t avail; if (object != pseudo_console) return EOPNOTSUPP; @@ -1498,7 +1498,7 @@ kern_return_t S_io_readable (mach_port_t object, mach_port_t reply_port, mach_msg_type_name_t reply_type, - int *amt) + mach_msg_type_number_t *amt) { if (object != pseudo_console) return EOPNOTSUPP; -- cgit v1.2.3