From 8b8ba9fbe1ad1ff74c0af7d0ac8213dd1b0cef14 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer 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") (cherry picked from commit 17123aa4200cbca1eeea95dc32d0d3f64ba2898b) --- 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 baf49c64..5f9e15bf 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;