mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
Attempt to fix compiling problem.
Noticed by: tinderbox
This commit is contained in:
parent
35259c2c89
commit
6e5bfbba9a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=163472
@ -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…
Reference in New Issue
Block a user