git: 801be06b9006 - stable/13 - snmp_wlan: Fix a couple of type mismatches in function prototypes

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Sat, 30 Nov 2024 19:09:10 UTC
The branch stable/13 has been updated by jhb:

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

commit 801be06b90066772c7e1091ee2c0b877ce1bdd22
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-11-15 02:36:03 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2024-11-30 18:57:59 +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);