gluon-mesh-babel: Unsigned variable 'total' can't be negative
This commit is contained in:
parent
083b7ef675
commit
62f06c1b16
@ -575,7 +575,7 @@ static struct json_object * get_clients(void) {
|
|||||||
|
|
||||||
count_stations(&wifi24, &wifi5);
|
count_stations(&wifi24, &wifi5);
|
||||||
|
|
||||||
size_t total = ask_l3roamd_for_client_count();
|
int total = ask_l3roamd_for_client_count();
|
||||||
|
|
||||||
size_t wifi = wifi24 + wifi5;
|
size_t wifi = wifi24 + wifi5;
|
||||||
struct json_object *ret = json_object_new_object();
|
struct json_object *ret = json_object_new_object();
|
||||||
|
Loading…
Reference in New Issue
Block a user