From dffb050d81c4ca9c6477b349b4b0f3c5c72b9c7c Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 10 Jan 2002 05:30:23 +0000 Subject: [PATCH] Remove lint --- libraries/libldap/os-ip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/libldap/os-ip.c b/libraries/libldap/os-ip.c index d579eab021..3968734597 100644 --- a/libraries/libldap/os-ip.c +++ b/libraries/libldap/os-ip.c @@ -265,8 +265,8 @@ ldap_pvt_connect(LDAP *ld, ber_socket_t s, if ( FD_ISSET(s, &efds) ) { int so_errno; int dummy = sizeof(so_errno); - if ( getsockopt( s, SOL_SOCKET, SO_ERROR, &so_errno, &dummy ) - == AC_SOCKET_ERROR || !so_errno ) + if ( getsockopt( s, SOL_SOCKET, SO_ERROR, + (char *) &so_errno, &dummy ) == AC_SOCKET_ERROR || !so_errno ) { /* impossible */ so_errno = WSAGetLastError(); -- 2.39.5