diff --git a/sys/sys/refcount.h b/sys/sys/refcount.h --- a/sys/sys/refcount.h +++ b/sys/sys/refcount.h @@ -65,7 +65,7 @@ } static __inline u_int -refcount_load(volatile u_int *count) +refcount_load(volatile const u_int *count) { return (atomic_load_int(count)); }