diff options
Diffstat (limited to 'ares')
-rw-r--r-- | ares/ares.h | 2 | ||||
-rw-r--r-- | ares/ares_free_string.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ares/ares.h b/ares/ares.h index c1b10d061..7ff256c8f 100644 --- a/ares/ares.h +++ b/ares/ares.h @@ -122,7 +122,7 @@ 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, int addrlen, int family, struct hostent **host); -void ares_free_string(char *str); +void ares_free_string(void *str); void ares_free_hostent(struct hostent *host); const char *ares_strerror(int code); void ares_free_errmem(char *mem); diff --git a/ares/ares_free_string.c b/ares/ares_free_string.c index c05069cca..3b01c9e61 100644 --- a/ares/ares_free_string.c +++ b/ares/ares_free_string.c @@ -16,7 +16,7 @@ #include <stdlib.h> #include "ares.h" -void ares_free_string(char *str) +void ares_free_string(void *str) { free(str); } |