git: 7f1dfd6c33db - main - vm_object: Fix the argument type to vm_object_set_flag()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 06 Oct 2024 22:55:34 UTC
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=7f1dfd6c33dbbb6c1136e987de554c5c5a7d014d
commit 7f1dfd6c33dbbb6c1136e987de554c5c5a7d014d
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2024-10-06 22:54:13 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-10-06 22:55:02 +0000
vm_object: Fix the argument type to vm_object_set_flag()
Reported by: kib
Fixes: 9d52823bf1df ("vm_object: Widen the flags field")
---
sys/vm/vm_object.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/vm/vm_object.h b/sys/vm/vm_object.h
index 3274f59f958f..71a1c33c7f26 100644
--- a/sys/vm/vm_object.h
+++ b/sys/vm/vm_object.h
@@ -283,7 +283,7 @@ struct vnode;
* The object must be locked or thread private.
*/
static __inline void
-vm_object_set_flag(vm_object_t object, u_short bits)
+vm_object_set_flag(vm_object_t object, u_int bits)
{
object->flags |= bits;