diff options
author | jcid <devnull@localhost> | 2008-08-12 22:24:37 +0200 |
---|---|---|
committer | jcid <devnull@localhost> | 2008-08-12 22:24:37 +0200 |
commit | 50b3b7b3e576bfcb8682ce7d4b0eb15086c214b4 (patch) | |
tree | 8dcfb49b2dc4a3d650bf8cbba160e057ae4fa0bd /src/dns.c | |
parent | 9eba6c5572de8bfe82606206e8a44a403d936f32 (diff) |
- Eliminated gcc 4.2.3 warnings on 64bit OS.
Diffstat (limited to 'src/dns.c')
-rw-r--r-- | src/dns.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 */ |