Attempt to fix compiling problem.
Noticed by: tinderbox
This commit is contained in:
parent
35259c2c89
commit
6e5bfbba9a
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user