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

This commit is contained in:
bobcanthelpyou 2018-11-25 13:28:58 +01:00 committed by Christof Schulze
parent 083b7ef675
commit 62f06c1b16

View File

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