mirror of https://github.com/getdnsapi/getdns.git
Preparing fix for 64 bit warning in net_req_query_id_cmp
This commit is contained in:
parent
83ec9b74e9
commit
4ccfa2a781
|
@ -818,6 +818,10 @@ tls_only_is_in_transports_list(getdns_context *context) {
|
||||||
|
|
||||||
static int
|
static int
|
||||||
net_req_query_id_cmp(const void *id1, const void *id2)
|
net_req_query_id_cmp(const void *id1, const void *id2)
|
||||||
|
{
|
||||||
|
return (intptr_t)id1 - (intptr_t)id2;
|
||||||
|
}
|
||||||
|
/*
|
||||||
{
|
{
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
|
||||||
|
@ -828,6 +832,7 @@ net_req_query_id_cmp(const void *id1, const void *id2)
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
static getdns_tsig_info const tsig_info[] = {
|
static getdns_tsig_info const tsig_info[] = {
|
||||||
{ GETDNS_NO_TSIG, NULL, 0, NULL, 0, 0, 0 }
|
{ GETDNS_NO_TSIG, NULL, 0, NULL, 0, 0, 0 }
|
||||||
|
|
Loading…
Reference in New Issue