]> git.sur5r.net Git - openldap/commitdiff
Remove lint
authorKurt Zeilenga <kurt@openldap.org>
Thu, 10 Jan 2002 05:30:23 +0000 (05:30 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 10 Jan 2002 05:30:23 +0000 (05:30 +0000)
libraries/libldap/os-ip.c

index d579eab02157a00f4eedee3831ae6ff34ae503d6..396873459726dee61288383c461611e62bd9487e 100644 (file)
@@ -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();