From: Hallvard Furuseth Date: Sun, 10 Jun 2007 20:35:30 +0000 (+0000) Subject: int -> ber_socklen_t for getsockname() X-Git-Tag: OPENLDAP_REL_ENG_2_4_MP~398 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=25a7729a12c65d7db7d410bf552984b798b18526;p=openldap int -> ber_socklen_t for getsockname() --- diff --git a/libraries/liblutil/sockpair.c b/libraries/liblutil/sockpair.c index c2e6220035..308a758224 100644 --- a/libraries/liblutil/sockpair.c +++ b/libraries/liblutil/sockpair.c @@ -35,7 +35,8 @@ int lutil_pair( ber_socket_t sds[2] ) return pipe( sds ); #else struct sockaddr_in si; - int rc, len = sizeof(si); + int rc; + ber_socklen_t len = sizeof(si); ber_socket_t sd; sd = socket( AF_INET, SOCK_DGRAM, 0 );