aboutsummaryrefslogtreecommitdiff
path: root/src/dns.c
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-08-12 22:24:37 +0200
committerjcid <devnull@localhost>2008-08-12 22:24:37 +0200
commit50b3b7b3e576bfcb8682ce7d4b0eb15086c214b4 (patch)
tree8dcfb49b2dc4a3d650bf8cbba160e057ae4fa0bd /src/dns.c
parent9eba6c5572de8bfe82606206e8a44a403d936f32 (diff)
- Eliminated gcc 4.2.3 warnings on 64bit OS.
Diffstat (limited to 'src/dns.c')
-rw-r--r--src/dns.c3
1 files changed, 2 insertions, 1 deletions
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 */