diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-02-23 07:52:20 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-02-23 07:52:20 +0000 |
commit | 961876c001c780e4d4767a5b1a4f0fe9d3a3ecf2 (patch) | |
tree | b0134edaf356b325a8bcd2d29db3f32cb1b266d1 /ares.h | |
parent | 3f0b19ea45f9377c24d47e5d8df29b919995084a (diff) | |
download | c-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |