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 | c7fe8a7a11456abe367d3d815f3c2faf62900fc3 (patch) | |
| tree | 0129ec768d659346b27655f3c6b272d2604a2177 /ares/ares.h | |
| parent | 7174ca7a20dd18f4b42f9b37f4260865365b71d2 (diff) | |
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/ares.h')
| -rw-r--r-- | ares/ares.h | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/ares/ares.h b/ares/ares.h index 7ff256c8f..c8f708edc 100644 --- a/ares/ares.h +++ b/ares/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,  | 
