]> git.sur5r.net Git - openldap/commitdiff
Suppress warning
authorHoward Chu <hyc@openldap.org>
Sun, 16 Feb 2003 12:22:06 +0000 (12:22 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 16 Feb 2003 12:22:06 +0000 (12:22 +0000)
servers/slapd/passwd.c

index bd6157d5e088047fb042cc49bb91ec73e713bbc4..14e37f2970f830257690f2a3b4e0a519c57343f1 100644 (file)
@@ -50,7 +50,8 @@ int passwd_extop(
        }
 
        {
-               rc = backend_check_restrictions( be, conn, op, &slap_EXOP_MODIFY_PASSWD, text );
+               rc = backend_check_restrictions( be, conn, op,
+                       (struct berval *)&slap_EXOP_MODIFY_PASSWD, text );
        }
 
        if( rc != LDAP_SUCCESS ) {