summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--boot/boot.c12
1 files 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;