gluon-mesh-babel: Unsigned variable 'total' can't be negative
This commit is contained in:
		
							parent
							
								
									c4d8091776
								
							
						
					
					
						commit
						1a5f1fc706
					
				| @ -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(); | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user