summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2005-06-03 04:57:50 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2005-06-03 04:57:50 +0000
commit8e80413c8722c52e44306044239e98b655341d96 (patch)
treeef45839b864f693f33e7086ad6d8a1b6a69a6b0c /lib/libc
parent2513da796e7def9adab925a14cfcf6901a737b1d (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/net/name6.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/net/name6.c b/lib/libc/net/name6.c
index 4bbc5f094cde..de6e4ac7ac5c 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) {