git: 9ecbe62e7e51 - stable/13 - bhyve: Make bc_magic unsigned

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Mon, 17 Oct 2022 15:42:14 UTC
The branch stable/13 has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=9ecbe62e7e51036a2f6a6c59c8ebac9c72dd56da

commit 9ecbe62e7e51036a2f6a6c59c8ebac9c72dd56da
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2022-10-08 15:26:31 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2022-10-17 15:41:40 +0000

    bhyve: Make bc_magic unsigned
    
    This addresses a number of compiler warnings about signed/unsigned
    comparisons in assertions.
    
    (cherry picked from commit 3dddf73ee1eb1cea3146da2df376be48d4b2a589)
---
 usr.sbin/bhyve/block_if.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.sbin/bhyve/block_if.c b/usr.sbin/bhyve/block_if.c
index 8f1ae73a0e88..a6b1c11a842c 100644
--- a/usr.sbin/bhyve/block_if.c
+++ b/usr.sbin/bhyve/block_if.c
@@ -97,7 +97,7 @@ struct blockif_elem {
 };
 
 struct blockif_ctxt {
-	int			bc_magic;
+	unsigned int		bc_magic;
 	int			bc_fd;
 	int			bc_ischr;
 	int			bc_isgeom;