Preparing fix for 64 bit warning in net_req_query_id_cmp

This commit is contained in:
Christian Huitema 2017-01-21 14:46:38 -08:00
parent 83ec9b74e9
commit 4ccfa2a781
1 changed files with 5 additions and 0 deletions

View File

@ -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 }