From 6b22e3abbf007efd4548bcce1a454559d4ccc91a Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 28 May 2002 23:58:31 +0000 Subject: 2002-05-28 Roland McGrath * streamio.c (device_open_reply): size_t -> int for dev_status_t * crash.c (S_msg_report_wait): int -> mach_msg_id_t --- trans/crash.c | 2 +- trans/streamio.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'trans') diff --git a/trans/crash.c b/trans/crash.c index c31cd2bf..acb67c44 100644 --- a/trans/crash.c +++ b/trans/crash.c @@ -777,7 +777,7 @@ S_msg_clear_some_exec_flags (mach_port_t process, mach_port_t refport, { return EBUSY; } error_t S_msg_report_wait (mach_port_t process, thread_t thread, - string_t desc, int *rpc) + string_t desc, mach_msg_id_t *rpc) { return EBUSY; } error_t S_msg_describe_ports (mach_port_t msgport, mach_port_t refport, diff --git a/trans/streamio.c b/trans/streamio.c index 60fcc64c..c1685f38 100644 --- a/trans/streamio.c +++ b/trans/streamio.c @@ -1,6 +1,6 @@ /* A translator for handling stream devices. - Copyright (C) 2001 Free Software Foundation, Inc. + Copyright (C) 2001,02 Free Software Foundation, Inc. Written by OKUJI Yoshinori @@ -801,7 +801,7 @@ dev_open (const char *name, dev_mode_t mode) kern_return_t device_open_reply (mach_port_t reply, int returncode, mach_port_t device) { - size_t sizes[DEV_GET_SIZE_COUNT]; + int sizes[DEV_GET_SIZE_COUNT]; size_t sizes_len = DEV_GET_SIZE_COUNT; int amount; -- cgit v1.2.3