summaryrefslogtreecommitdiff
path: root/ares.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-02-23 07:52:20 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-02-23 07:52:20 +0000
commit961876c001c780e4d4767a5b1a4f0fe9d3a3ecf2 (patch)
treeb0134edaf356b325a8bcd2d29db3f32cb1b266d1 /ares.h
parent3f0b19ea45f9377c24d47e5d8df29b919995084a (diff)
downloadc-ares-961876c001c780e4d4767a5b1a4f0fe9d3a3ecf2.tar.gz
c-ares-961876c001c780e4d4767a5b1a4f0fe9d3a3ecf2.tar.bz2
c-ares-961876c001c780e4d4767a5b1a4f0fe9d3a3ecf2.zip
make ares_expand_name() take a long * instead of an int *, since we do
pointer arithmetic (ptr1 - ptr2) and to do that properly on 64bit we need long
Diffstat (limited to 'ares.h')
-rw-r--r--ares.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares.h b/ares.h
index 7ff256c..c8f708e 100644
--- a/ares.h
+++ b/ares.h
@@ -117,7 +117,7 @@ void ares_process(ares_channel channel, fd_set *read_fds, fd_set *write_fds);
int ares_mkquery(const char *name, int dnsclass, int type, unsigned short id,
int rd, unsigned char **buf, int *buflen);
int ares_expand_name(const unsigned char *encoded, const unsigned char *abuf,
- int alen, char **s, int *enclen);
+ int alen, char **s, long *enclen);
int ares_parse_a_reply(const unsigned char *abuf, int alen,
struct hostent **host);
int ares_parse_ptr_reply(const unsigned char *abuf, int alen, const void *addr,