]> git.sur5r.net Git - openldap/commitdiff
Remove some lint.
authorKurt Zeilenga <kurt@openldap.org>
Sat, 19 Jan 2002 01:54:56 +0000 (01:54 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 19 Jan 2002 01:54:56 +0000 (01:54 +0000)
servers/slapd/backend.c

index 2f183cb1b12149ca8c0ce9d5651858cdf72bad40..7ddf2f9640ddefae13a274e50b915a89bda3111c 100644 (file)
@@ -581,7 +581,7 @@ be_issuffix(
 )
 {
        int     i;
-       struct berval   bvsuffix = { strlen( suffix ), suffix };
+       struct berval   bvsuffix = { strlen( suffix ), (char *)suffix };
 
        for ( i = 0; be->be_nsuffix != NULL && be->be_nsuffix[i] != NULL; i++ ) {
                if ( ber_bvcmp( be->be_nsuffix[i], &bvsuffix ) == 0 ) {