diff options
author | 2009-01-13 19:38:44 +0000 | |
---|---|---|
committer | 2009-01-13 19:38:44 +0000 | |
commit | 6c47ea496a2fd12e20d87a10155d0a64d168f164 (patch) | |
tree | 6afd77fcebf9396de1fde69b9705d1b2584fdcb9 /sys | |
parent | Man page for wcstof(3), wcstod(3) and wcstold(3). (diff) | |
download | wireguard-openbsd-6c47ea496a2fd12e20d87a10155d0a64d168f164.tar.xz wireguard-openbsd-6c47ea496a2fd12e20d87a10155d0a64d168f164.zip |
Fix lvalue abuse by removing a redundant cast.
ok kettenis@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/amd64/amd64/mpbios.c | 4 | ||||
-rw-r--r-- | sys/arch/i386/i386/mpbios.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/amd64/amd64/mpbios.c b/sys/arch/amd64/amd64/mpbios.c index c75a3b9afa7..fcd933ca661 100644 --- a/sys/arch/amd64/amd64/mpbios.c +++ b/sys/arch/amd64/amd64/mpbios.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpbios.c,v 1.15 2009/01/13 13:53:50 kettenis Exp $ */ +/* $OpenBSD: mpbios.c,v 1.16 2009/01/13 19:38:44 grange Exp $ */ /* $NetBSD: mpbios.c,v 1.7 2003/05/15 16:32:50 fvdl Exp $ */ /*- @@ -652,7 +652,7 @@ mpbios_scan(struct device *self) return; } - (u_char*)position += mp_conf[type].length; + position += mp_conf[type].length; } mp_nintrs = cur_intr; diff --git a/sys/arch/i386/i386/mpbios.c b/sys/arch/i386/i386/mpbios.c index 1ce97f2356f..63fb6172255 100644 --- a/sys/arch/i386/i386/mpbios.c +++ b/sys/arch/i386/i386/mpbios.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpbios.c,v 1.30 2009/01/13 13:53:50 kettenis Exp $ */ +/* $OpenBSD: mpbios.c,v 1.31 2009/01/13 19:38:44 grange Exp $ */ /* $NetBSD: mpbios.c,v 1.2 2002/10/01 12:56:57 fvdl Exp $ */ /*- @@ -672,7 +672,7 @@ mpbios_scan(struct device *self) return; } - (u_char*)position += mp_conf[type].length; + position += mp_conf[type].length; } if (mp_verbose && mp_cth->ext_len) printf("%s: MP WARNING: %d " |