From: Kurt Zeilenga Date: Thu, 10 Jan 2002 05:30:23 +0000 (+0000) Subject: Remove lint X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~215 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dffb050d81c4ca9c6477b349b4b0f3c5c72b9c7c;p=openldap Remove lint --- 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();