summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--trans/crash.c2
-rw-r--r--trans/streamio.c4
2 files changed, 3 insertions, 3 deletions
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 <okuji@kuicr.kyoto-u.ac.jp>
@@ -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;