git: 3029b0b0e9d6 - main - boolean_t: change to unsigned int to avoid signed bitfield warnings

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Tue, 25 Apr 2023 17:59:15 UTC
The branch main has been updated by dim:

URL: https://cgit.FreeBSD.org/src/commit/?id=3029b0b0e9d68eb54e3bdd9e3e49e0f0d2d57835

commit 3029b0b0e9d68eb54e3bdd9e3e49e0f0d2d57835
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2023-04-25 17:52:40 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2023-04-25 17:58:18 +0000

    boolean_t: change to unsigned int to avoid signed bitfield warnings
    
    This is the final part, which actually makes boolean_t unsigned. Note
    that we do not change its size, nor do we try to change it directly to
    bool, since that results in a lot of regressions.
    
    Converting the remaining instances of boolean_t to plain C99 bool can
    now be done in a piecemeal fashion, after which boolean_t may hopefully
    be retired.
    
    MFC after:      1 week
    Reviewed by:    jhb
    Differential Revision: https://reviews.freebsd.org/D39753
---
 sys/sys/types.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/sys/types.h b/sys/sys/types.h
index 5db5679b11b5..0846f2a57670 100644
--- a/sys/sys/types.h
+++ b/sys/sys/types.h
@@ -273,7 +273,7 @@ typedef __rman_res_t    rman_res_t;
 typedef __register_t	syscallarg_t;
 
 #ifdef _KERNEL
-typedef	int		boolean_t;
+typedef	unsigned int	boolean_t;
 typedef	struct _device	*device_t;
 typedef	__intfptr_t	intfptr_t;