gluon-respondd: fix count_stations() arguments

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

Fixes: 59a4cd63b8 ("gluon-respondd: expose OWE clients in nodeinfo")
This commit is contained in:
Matthias Schiffer 2021-01-12 04:32:23 +01:00
parent 52ee93f160
commit 17123aa420
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C

View File

@ -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(); struct uci_context *ctx = uci_alloc_context();
if (!ctx) if (!ctx)
return; return;