gluon-mesh-babel: Unsigned variable 'total' can't be negative

This commit is contained in:
bobcanthelpyou 2018-11-25 13:28:58 +01:00
parent c4d8091776
commit 1a5f1fc706

View File

@ -591,7 +591,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();