]> git.sur5r.net Git - openldap/commitdiff
Fix lint in previous commit
authorHoward Chu <hyc@openldap.org>
Thu, 10 Jan 2002 18:55:13 +0000 (18:55 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 10 Jan 2002 18:55:13 +0000 (18:55 +0000)
servers/slapd/ad.c

index c674401b79366b8876fa979b7af8c9d73ef71361..4c7efe97f2bd2108df0c0c4ecc75c5c20e76ac08 100644 (file)
@@ -473,7 +473,7 @@ str2anlist( AttributeName *an, const char *in, const char *brkstr )
                        if ( !anew->an_oc ) {
                                free( an );
                                /* overwrites input string on error! */
-                               strcpy( in, s );
+                               strcpy( (char *)in, s );
                                return NULL;
                        }
                }