diff options
author | Roland McGrath <roland@gnu.org> | 1994-12-09 05:15:03 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1994-12-09 05:15:03 +0000 |
commit | 933546ce6c69bf15a9f676adfa7ab73909c5ec52 (patch) | |
tree | bf05c73989a4fde2aa6bdaf176b955fb228c1f27 /hurd | |
parent | d0c8039c14f0121c76ee6efc60b520fbab8293f0 (diff) |
(pwrite): Cast &N to mach_msg_type_number_t *.
Diffstat (limited to 'hurd')
-rw-r--r-- | hurd/vpprintf.c | 3 |
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; |