From: Howard Chu Date: Sun, 16 Feb 2003 12:22:06 +0000 (+0000) Subject: Suppress warning X-Git-Tag: NO_SLAP_OP_BLOCKS~344 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d6dab5dfb4198ffe32d26a0eb0e24991cfd59c46;p=openldap Suppress warning --- diff --git a/servers/slapd/passwd.c b/servers/slapd/passwd.c index bd6157d5e0..14e37f2970 100644 --- a/servers/slapd/passwd.c +++ b/servers/slapd/passwd.c @@ -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 ) {