]> git.sur5r.net Git - openldap/commitdiff
Remove lint
authorKurt Zeilenga <kurt@openldap.org>
Wed, 9 Oct 2002 23:35:45 +0000 (23:35 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 9 Oct 2002 23:35:45 +0000 (23:35 +0000)
servers/slapd/sasl.c

index 8ac64c439291bd4c6cc7023e2a88b322f6640635..fe748bc3b518c5ab3d0c967ae3c5a8bd35a7d22c 100644 (file)
@@ -830,7 +830,7 @@ slap_sasl_canonicalize(
         * conflict with slap_sasl_authorize's use of this temp var.
         */
        if ( flags == SASL_CU_AUTHID ) {
-               conn->c_sasl_dn.bv_val = in;
+               conn->c_sasl_dn.bv_val = (char *) in;
        } else if ( flags == SASL_CU_AUTHZID && conn->c_sasl_dn.bv_val ) {
                rc = strcmp( in, conn->c_sasl_dn.bv_val );
                conn->c_sasl_dn.bv_val = NULL;