git: 1d491430732e - stable/14 - snmp_wlan: Fix a couple of type mismatches in function prototypes

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Wed, 03 Jan 2024 17:50:05 UTC
The branch stable/14 has been updated by jhb:

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

commit 1d491430732e7d171fd6b19ae3492111c5544a47
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-11-15 02:36:03 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2024-01-03 17:43:48 +0000

    snmp_wlan: Fix a couple of type mismatches in function prototypes
    
    Reported by:    GCC 13 via -Wenum-int-mismatch
    Reviewed by:    imp, emaste
    Differential Revision:  https://reviews.freebsd.org/D42582
    
    (cherry picked from commit cc61bf9eccd46592704f3e7bc189c94ccae8f524)
---
 usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c b/usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c
index e5a6e0653b39..b129e42b9d85 100644
--- a/usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c
+++ b/usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c
@@ -68,8 +68,8 @@ static uint32_t	wlan_cryptocaps_to_snmp(uint32_t);
 static uint32_t	wlan_htcaps_to_snmp(uint32_t);
 static uint32_t	wlan_peerstate_to_snmp(uint32_t);
 static uint32_t	wlan_peercaps_to_snmp(uint32_t );
-static uint32_t	wlan_channel_flags_to_snmp_phy(uint32_t);
-static uint32_t	wlan_regdomain_to_snmp(int);
+static enum WlanIfPhyMode wlan_channel_flags_to_snmp_phy(uint32_t);
+static enum WlanRegDomainCode wlan_regdomain_to_snmp(int);
 static uint32_t	wlan_snmp_to_scan_flags(int);
 static int	wlan_config_snmp2ioctl(int);
 static int	wlan_snmp_to_regdomain(enum WlanRegDomainCode);