From 25a7729a12c65d7db7d410bf552984b798b18526 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Sun, 10 Jun 2007 20:35:30 +0000 Subject: [PATCH] int -> ber_socklen_t for getsockname() --- libraries/liblutil/sockpair.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ); -- 2.39.5