Avoid relying on silent type casting in the native atomic_load_32.

Reported by:	np
This commit is contained in:
Mark Johnston 2019-12-12 23:55:34 +00:00
parent 59f1142c2b
commit cbc080b4c4

View File

@ -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);
}