Avoid relying on silent type casting in the native atomic_load_32.
Reported by: np
This commit is contained in:
parent
59f1142c2b
commit
cbc080b4c4
@ -766,7 +766,7 @@ vm_page_astate_load(vm_page_t m)
|
||||
{
|
||||
vm_page_astate_t a;
|
||||
|
||||
a._bits = atomic_load_32(&m->a);
|
||||
a._bits = atomic_load_32(&m->a._bits);
|
||||
return (a);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user