summaryrefslogtreecommitdiff
path: root/trans
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-05-28 23:58:31 +0000
committerRoland McGrath <roland@gnu.org>2002-05-28 23:58:31 +0000
commit6b22e3abbf007efd4548bcce1a454559d4ccc91a (patch)
tree79c341bed3fd11f7ccd1704ae07743b19b6b395e /trans
parent0d17dcfc272f9fd69549514d066fc18c9713649e (diff)
2002-05-28 Roland McGrath <roland@frob.com>
* streamio.c (device_open_reply): size_t -> int for dev_status_t * crash.c (S_msg_report_wait): int -> mach_msg_id_t
Diffstat (limited to 'trans')
-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;