It can never go above 64, so let's use a narrower type.
Order will be adjusted later to remove holes.
#define QUERIES_MAX 2048
#define AUXILIARY_QUERIES_MAX 64
+assert_cc(AUXILIARY_QUERIES_MAX < UINT8_MAX);
+
static int dns_query_candidate_new(DnsQueryCandidate **ret, DnsQuery *q, DnsScope *s) {
DnsQueryCandidate *c;
* TXT+SRV query. */
DnsQuery *auxiliary_for;
LIST_HEAD(DnsQuery, auxiliary_queries);
- unsigned n_auxiliary_queries;
+ uint8_t n_auxiliary_queries;
int auxiliary_result;
/* The question, formatted in IDNA for use on classic DNS, and as UTF8 for use in LLMNR or mDNS. Note