From: Hallvard Furuseth Date: Sun, 10 Jun 2007 20:34:05 +0000 (+0000) Subject: int -> ber_socklen_t for getsockopt() X-Git-Tag: OPENLDAP_REL_ENG_2_4_MP~399 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5d083f3859d5aa8f74ac4d37b39a02a3e17fe908;p=openldap int -> ber_socklen_t for getsockopt() --- diff --git a/libraries/libldap/os-ip.c b/libraries/libldap/os-ip.c index 60aa94ae3f..7859aa75e3 100644 --- a/libraries/libldap/os-ip.c +++ b/libraries/libldap/os-ip.c @@ -316,7 +316,7 @@ ldap_int_poll( /* This means the connection failed */ if ( FD_ISSET(s, &efds) ) { int so_errno; - int dummy = sizeof(so_errno); + ber_socklen_t dummy = sizeof(so_errno); if ( getsockopt( s, SOL_SOCKET, SO_ERROR, (char *) &so_errno, &dummy ) == AC_SOCKET_ERROR || !so_errno ) {