From cbc080b4c4a1e0749a983fcf0ce63923e8927704 Mon Sep 17 00:00:00 2001 From: Mark Johnston Date: Thu, 12 Dec 2019 23:55:34 +0000 Subject: [PATCH] Avoid relying on silent type casting in the native atomic_load_32. Reported by: np --- sys/vm/vm_page.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/vm/vm_page.h b/sys/vm/vm_page.h index 516762fd0f89..07b02c80d699 100644 --- a/sys/vm/vm_page.h +++ b/sys/vm/vm_page.h @@ -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); }