Viktor Hercinger cf076b1
diff -up tcp_wrappers_7.6-ipv6.4/hosts_access.c.ucharpatch tcp_wrappers_7.6-ipv6.4/hosts_access.c
Viktor Hercinger cf076b1
--- tcp_wrappers_7.6-ipv6.4/hosts_access.c.ucharpatch	2013-01-28 10:19:20.424857730 +0100
Viktor Hercinger cf076b1
+++ tcp_wrappers_7.6-ipv6.4/hosts_access.c	2013-01-28 10:19:44.719991745 +0100
Viktor Hercinger cf076b1
@@ -514,7 +514,7 @@ static void ipv6_mask(in6p, maskbits)
Viktor Hercinger cf076b1
 struct in6_addr *in6p;
Viktor Hercinger cf076b1
 int maskbits;
Viktor Hercinger cf076b1
 {
Viktor Hercinger cf076b1
-    uchar_t *p = (uchar_t*) in6p;
Viktor Hercinger cf076b1
+    unsigned char *p = (unsigned char*) in6p;
Viktor Hercinger cf076b1
 
Viktor Hercinger cf076b1
     if (maskbits < 0 || maskbits >= IPV6_ABITS)
Viktor Hercinger cf076b1
 	return;
Viktor Hercinger cf076b1
@@ -525,7 +525,7 @@ int maskbits;
Viktor Hercinger cf076b1
     if (maskbits != 0)
Viktor Hercinger cf076b1
 	*p++ &= 0xff << (8 - maskbits);
Viktor Hercinger cf076b1
 
Viktor Hercinger cf076b1
-    while (p < (((uchar_t*) in6p)) + sizeof(*in6p))
Viktor Hercinger cf076b1
+    while (p < (((unsigned char*) in6p)) + sizeof(*in6p))
Viktor Hercinger cf076b1
 	*p++ = 0;
Viktor Hercinger cf076b1
 }
Viktor Hercinger cf076b1
 #endif