diff options
Diffstat (limited to 'lib/libarch/i386/i386_get_ioperm.c')
-rw-r--r-- | lib/libarch/i386/i386_get_ioperm.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libarch/i386/i386_get_ioperm.c b/lib/libarch/i386/i386_get_ioperm.c index 6d08a591f89..63adc582722 100644 --- a/lib/libarch/i386/i386_get_ioperm.c +++ b/lib/libarch/i386/i386_get_ioperm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i386_get_ioperm.c,v 1.6 2012/12/05 23:19:58 deraadt Exp $ */ +/* $OpenBSD: i386_get_ioperm.c,v 1.7 2014/11/15 02:23:28 tedu Exp $ */ /* $NetBSD: i386_get_ioperm.c,v 1.2 1996/02/27 22:57:22 jtc Exp $ */ /*- @@ -43,6 +43,5 @@ i386_get_ioperm(iomap) p.iomap = iomap; - /* LINTED pointer casts may be troublesome */ - return sysarch(I386_GET_IOPERM, (char *)&p); + return sysarch(I386_GET_IOPERM, &p); } |