diff --git a/src/dns.c b/src/dns.c index bc68a81c06..64bb0d15f1 100644 --- a/src/dns.c +++ b/src/dns.c @@ -54,7 +54,7 @@ struct list dns_resolvers = LIST_HEAD_INIT(dns_resolvers); struct list dns_srvrq_list = LIST_HEAD_INIT(dns_srvrq_list); -static THREAD_LOCAL int64_t dns_query_id_seed = 0; /* random seed */ +static THREAD_LOCAL uint64_t dns_query_id_seed = 0; /* random seed */ DECLARE_STATIC_POOL(dns_answer_item_pool, "dns_answer_item", sizeof(struct dns_answer_item)); DECLARE_STATIC_POOL(dns_resolution_pool, "dns_resolution", sizeof(struct dns_resolution));