nss-packages-LiBwrt/qca-nss-drv/patches-11.4/0006-nss-drv-Fix-nss_clmap_stats-enum-int-compilation-error-GCC-13.patch
2025-11-04 13:19:44 +08:00

12 lines
467 B
Diff

--- a/nss_clmap_stats.c
+++ b/nss_clmap_stats.c
@@ -63,7 +63,7 @@ void nss_clmap_stats_session_unregister(
* nss_clmap_stats_session_register
* Register debug statistic for clmap session.
*/
-bool nss_clmap_stats_session_register(uint32_t if_num, uint32_t if_type, struct net_device *netdev)
+bool nss_clmap_stats_session_register(uint32_t if_num, enum nss_clmap_interface_type if_type, struct net_device *netdev)
{
uint32_t i;
bool stats_status = false;