diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-05-11 05:42:02 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-05-11 05:42:02 +0000 |
commit | 9be12728c6516a0da6b479cd0eefd0bfc61c8cff (patch) | |
tree | 55bc0e7761ab0474db6f1ab1c8a20e5e790064d1 /sys/kern | |
parent | cb4f89c64d6b930d3f8f91caefc799d2d510d0b5 (diff) |
compile if iov_base is void *
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_subr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_subr.c b/sys/kern/kern_subr.c index 39ca21dabbc..56b07f7d0e7 100644 --- a/sys/kern/kern_subr.c +++ b/sys/kern/kern_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_subr.c,v 1.4 1997/02/24 14:19:56 niklas Exp $ */ +/* $OpenBSD: kern_subr.c,v 1.5 1998/05/11 05:41:59 deraadt Exp $ */ /* $NetBSD: kern_subr.c,v 1.15 1996/04/09 17:21:56 ragge Exp $ */ /* @@ -130,7 +130,7 @@ again: break; case UIO_SYSSPACE: - *iov->iov_base = c; + *(char *)iov->iov_base = c; break; } iov->iov_base++; |