From 1a5f1fc7061b17036fdbf099693b0ecb9892419c Mon Sep 17 00:00:00 2001 From: bobcanthelpyou Date: Sun, 25 Nov 2018 13:28:58 +0100 Subject: [PATCH] gluon-mesh-babel: Unsigned variable 'total' can't be negative --- package/gluon-mesh-babel/src/respondd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/gluon-mesh-babel/src/respondd.c b/package/gluon-mesh-babel/src/respondd.c index 724f2e94..008ccc50 100644 --- a/package/gluon-mesh-babel/src/respondd.c +++ b/package/gluon-mesh-babel/src/respondd.c @@ -591,7 +591,7 @@ static struct json_object * get_clients(void) { count_stations(&wifi24, &wifi5); - size_t total = ask_l3roamd_for_client_count(); + int total = ask_l3roamd_for_client_count(); size_t wifi = wifi24 + wifi5; struct json_object *ret = json_object_new_object();