diff options
Diffstat (limited to 'ares_gethostbyaddr.c')
-rw-r--r-- | ares_gethostbyaddr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ares_gethostbyaddr.c b/ares_gethostbyaddr.c index 4b1dad3..a2c3a90 100644 --- a/ares_gethostbyaddr.c +++ b/ares_gethostbyaddr.c @@ -272,7 +272,7 @@ static void ptr_rr_name(char *name, const struct ares_addr *addr) } else { - unsigned char *bytes = (unsigned char *)&addr->addrV6.s6_addr; + unsigned char *bytes = (unsigned char *)&addr->addrV6; /* There are too many arguments to do this in one line using * minimally C89-compliant compilers */ sprintf(name, |