git: b290769b9811 - main - blacklistd: silence sign-conversion warning from Clang

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Wed, 12 Oct 2022 18:13:44 UTC
The branch main has been updated by emaste:

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

commit b290769b981193cbc0985206e11930b2eb79428e
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2022-10-12 18:10:21 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2022-10-12 18:10:21 +0000

    blacklistd: silence sign-conversion warning from Clang
    
    Obtained from:  NetBSD 518a28b2e752
---
 contrib/blacklist/lib/blacklist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/blacklist/lib/blacklist.c b/contrib/blacklist/lib/blacklist.c
index 913753f11101..ba376c3daf0d 100644
--- a/contrib/blacklist/lib/blacklist.c
+++ b/contrib/blacklist/lib/blacklist.c
@@ -61,7 +61,7 @@ int
 blacklist_sa_r(struct blacklist *bl, int action, int rfd,
 	const struct sockaddr *sa, socklen_t slen, const char *msg)
 {
-	int internal_action;
+	bl_type_t internal_action;
 
 	/* internal values are not the same as user application values */
 	switch (action) {