From d6dab5dfb4198ffe32d26a0eb0e24991cfd59c46 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 16 Feb 2003 12:22:06 +0000 Subject: [PATCH] Suppress warning --- servers/slapd/passwd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ) { -- 2.39.5