diff --git a/doc/Changelog b/doc/Changelog index ea2ce6243..6fdcd1c3c 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,5 +1,6 @@ 19 June 2009: Wouter - Fixup strict aliasing warning in iter priv code. + and config_file code. - iana portlist updated. 18 June 2009: Wouter diff --git a/util/config_file.c b/util/config_file.c index 657c353fc..3e8ab8ed9 100644 --- a/util/config_file.c +++ b/util/config_file.c @@ -1034,7 +1034,7 @@ char* cfg_ptr_reverse(char* str) * IPv6: (h.){32}.ip6.arpa. */ if(addr_is_ip6(&addr, addrlen)) { - struct in6_addr* ad = &((struct sockaddr_in6*)&addr)->sin6_addr; + void* ad = &((struct sockaddr_in6*)&addr)->sin6_addr; const char* hex = "0123456789abcdef"; char *p = buf; int i;