mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
strict aliasing warning in config_file code.
git-svn-id: file:///svn/unbound/trunk@1676 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
6f745bc49e
commit
aec8f4644f
2 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue