From 50b3b7b3e576bfcb8682ce7d4b0eb15086c214b4 Mon Sep 17 00:00:00 2001 From: jcid Date: Tue, 12 Aug 2008 22:24:37 +0200 Subject: - Eliminated gcc 4.2.3 warnings on 64bit OS. --- src/dns.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/dns.c') diff --git a/src/dns.c b/src/dns.c index b47658c0..73ada0ad 100644 --- a/src/dns.c +++ b/src/dns.c @@ -336,7 +336,8 @@ static void Dns_server_req(int channel, const char *hostname) dns_server[channel].hostname = dStrdup(hostname); /* Let's set a timeout client to poll the server channel (5 times/sec) */ - a_Timeout_add(0.2,Dns_timeout_client,(void*)(dns_server[channel].channel)); + a_Timeout_add(0.2,Dns_timeout_client, + INT2VOIDP(dns_server[channel].channel)); #ifdef D_DNS_THREADED /* set the thread attribute to the detached state */ -- cgit v1.2.3