From 5d083f3859d5aa8f74ac4d37b39a02a3e17fe908 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Sun, 10 Jun 2007 20:34:05 +0000 Subject: [PATCH] int -> ber_socklen_t for getsockopt() --- libraries/libldap/os-ip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) { -- 2.39.5