Attempt to fix compiling problem.

Noticed by: tinderbox
This commit is contained in:
David Xu 2006-10-18 02:09:46 +00:00
parent 35259c2c89
commit 6e5bfbba9a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=163472
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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