diff options
author | ume <ume@FreeBSD.org> | 2005-05-27 20:44:57 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2005-05-27 20:44:57 +0000 |
commit | 282986422833cd4184586d08f2f9ec00f080444e (patch) | |
tree | 128b35454aa0b96e9ee938978944d8896692bdd0 /lib | |
parent | 65ffcee053e76ba577b7e36112e113c94a943ade (diff) | |
download | FreeBSD-src-282986422833cd4184586d08f2f9ec00f080444e.zip FreeBSD-src-282986422833cd4184586d08f2f9ec00f080444e.tar.gz |
reduce cast.
MFC after: 1 week
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/net/name6.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/net/name6.c b/lib/libc/net/name6.c index 611dea7..9de33ed 100644 --- a/lib/libc/net/name6.c +++ b/lib/libc/net/name6.c @@ -195,7 +195,7 @@ struct hp_order { } aio_un; #define aio_sa aio_un.aiou_sa int aio_matchlen; - u_char *aio_h_addr; + char *aio_h_addr; }; static struct hostent *_hpcopy(struct hostent *hp, int *errp); @@ -742,7 +742,7 @@ _hpreorder(struct hostent *hp) { struct hp_order *aio; int i, n; - u_char *ap; + char *ap; struct sockaddr *sa; struct policyhead policyhead; @@ -784,7 +784,7 @@ _hpreorder(struct hostent *hp) } for (i = 0; i < n; i++) { - ap = (u_char *)hp->h_addr_list[i]; + ap = hp->h_addr_list[i]; aio[i].aio_h_addr = ap; sa = &aio[i].aio_sa; switch (hp->h_addrtype) { |