=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/include/netdb.h,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- src/include/netdb.h 2000/10/04 22:54:23 1.11 +++ src/include/netdb.h 2001/02/21 15:12:00 1.12 @@ -1,4 +1,4 @@ -/* $OpenBSD: netdb.h,v 1.11 2000/10/04 22:54:23 espie Exp $ */ +/* $OpenBSD: netdb.h,v 1.12 2001/02/21 15:12:00 itojun Exp $ */ /* * ++Copyright++ 1980, 1983, 1988, 1993 @@ -179,7 +179,7 @@ int ai_family; /* protocol family for socket */ int ai_socktype; /* socket type */ int ai_protocol; /* protocol for socket */ - int ai_addrlen; /* length of socket-address */ + socklen_t ai_addrlen; /* length of socket-address */ struct sockaddr *ai_addr; /* socket-address for socket */ char *ai_canonname; /* canonical name for service location (iff req) */ struct addrinfo *ai_next; /* pointer to next in list */