mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-08 19:07:41 +02: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:
@@ -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
|
||||
|
||||
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user