summaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-12-09 05:15:03 +0000
committerRoland McGrath <roland@gnu.org>1994-12-09 05:15:03 +0000
commit933546ce6c69bf15a9f676adfa7ab73909c5ec52 (patch)
treebf05c73989a4fde2aa6bdaf176b955fb228c1f27 /hurd
parentd0c8039c14f0121c76ee6efc60b520fbab8293f0 (diff)
(pwrite): Cast &N to mach_msg_type_number_t *.
Diffstat (limited to 'hurd')
-rw-r--r--hurd/vpprintf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hurd/vpprintf.c b/hurd/vpprintf.c
index 27b827a022..dcdcd5a13d 100644
--- a/hurd/vpprintf.c
+++ b/hurd/vpprintf.c
@@ -26,7 +26,8 @@ static ssize_t
DEFUN(pwrite, (cookie, buf, n),
PTR cookie AND CONST char *buf AND size_t n)
{
- error_t error = __io_write ((io_t) cookie, buf, n, -1, &n);
+ error_t error = __io_write ((io_t) cookie, buf, n, -1,
+ (mach_msg_type_number_t *) &n);
if (error)
return __hurd_fail (error);
return n;