summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-05-11 05:42:02 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-05-11 05:42:02 +0000
commit9be12728c6516a0da6b479cd0eefd0bfc61c8cff (patch)
tree55bc0e7761ab0474db6f1ab1c8a20e5e790064d1 /sys/kern
parentcb4f89c64d6b930d3f8f91caefc799d2d510d0b5 (diff)
compile if iov_base is void *
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_subr.c4
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++;