summaryrefslogtreecommitdiff
path: root/trans/streamio.c
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/streamio.c
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/streamio.c')
-rw-r--r--trans/streamio.c4
1 files changed, 2 insertions, 2 deletions
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;