From 17123aa4200cbca1eeea95dc32d0d3f64ba2898b Mon Sep 17 00:00:00 2001
From: Matthias Schiffer <mschiffer@universe-factory.net>
Date: Tue, 12 Jan 2021 04:32:23 +0100
Subject: [PATCH] gluon-respondd: fix count_stations() arguments

Fixes warnings about implicit pointer-to-int and int-to-pointer casts.

Fixes: 59a4cd63b810 ("gluon-respondd: expose OWE clients in nodeinfo")
---
 package/gluon-respondd/src/respondd-statistics.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/gluon-respondd/src/respondd-statistics.c b/package/gluon-respondd/src/respondd-statistics.c
index baf49c64c..5f9e15bfd 100644
--- a/package/gluon-respondd/src/respondd-statistics.c
+++ b/package/gluon-respondd/src/respondd-statistics.c
@@ -239,7 +239,7 @@ static void count_iface_stations(size_t *wifi24, size_t *wifi5, const char *ifna
 	}
 }
 
-static void count_stations(size_t *wifi24, size_t *wifi5, size_t *owe24, size_t owe5) {
+static void count_stations(size_t *wifi24, size_t *wifi5, size_t *owe24, size_t *owe5) {
 	struct uci_context *ctx = uci_alloc_context();
 	if (!ctx)
 		return;
-- 
GitLab