diff options
author | davidxu <davidxu@FreeBSD.org> | 2006-10-18 02:09:46 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2006-10-18 02:09:46 +0000 |
commit | 90ebfcc21816f68697583b2914951c5906edf261 (patch) | |
tree | 2f6eea2b16bb46e9e7efa178578fdaf6c5990263 | |
parent | fea5a64567ed96e580698f6df8273f97c9d6cbb1 (diff) | |
download | FreeBSD-src-90ebfcc21816f68697583b2914951c5906edf261.zip FreeBSD-src-90ebfcc21816f68697583b2914951c5906edf261.tar.gz |
Attempt to fix compiling problem.
Noticed by: tinderbox
-rw-r--r-- | sys/powerpc/aim/copyinout.c | 2 | ||||
-rw-r--r-- | sys/powerpc/powerpc/copyinout.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/powerpc/aim/copyinout.c b/sys/powerpc/aim/copyinout.c index a5683eb..4c6a0ae 100644 --- a/sys/powerpc/aim/copyinout.c +++ b/sys/powerpc/aim/copyinout.c @@ -325,7 +325,7 @@ fuword32(const void *addr) uint32_t casuword32(volatile uint32_t *base, uint32_t oldval, uint32_t newval) { - return (casuword(base, oldval, newval)); + return (casuword((volatile u_long *)base, oldval, newval)); } u_long diff --git a/sys/powerpc/powerpc/copyinout.c b/sys/powerpc/powerpc/copyinout.c index a5683eb..4c6a0ae 100644 --- a/sys/powerpc/powerpc/copyinout.c +++ b/sys/powerpc/powerpc/copyinout.c @@ -325,7 +325,7 @@ fuword32(const void *addr) uint32_t casuword32(volatile uint32_t *base, uint32_t oldval, uint32_t newval) { - return (casuword(base, oldval, newval)); + return (casuword((volatile u_long *)base, oldval, newval)); } u_long |