From 62f06c1b16df535e024182e2ee189f20402f1bd0 Mon Sep 17 00:00:00 2001
From: bobcanthelpyou <bob@canthelpyou.com>
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 dd47e3663..7caecb475 100644
--- a/package/gluon-mesh-babel/src/respondd.c
+++ b/package/gluon-mesh-babel/src/respondd.c
@@ -575,7 +575,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();
-- 
GitLab