]> git.sur5r.net Git - openldap/commitdiff
Silence warning
authorHoward Chu <hyc@openldap.org>
Sat, 29 Dec 2001 02:56:27 +0000 (02:56 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 29 Dec 2001 02:56:27 +0000 (02:56 +0000)
servers/slapd/mr.c

index 34dae23bc0acf6bfe89cd2065e386816d250a1bb..4603128422b7d06103ce3d29a6de412dd49acf2f 100644 (file)
@@ -52,7 +52,7 @@ mr_find( const char *mrname )
 {
        struct berval bv;
 
-       bv.bv_val = mrname;
+       bv.bv_val = (char *)mrname;
        bv.bv_len = strlen( mrname );
        return mr_bvfind( &bv );
 }