From: Howard Chu Date: Thu, 10 Jan 2002 18:55:13 +0000 (+0000) Subject: Fix lint in previous commit X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~206 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f5bfb64f077fb5685b49a6f50ee5047737449b35;p=openldap Fix lint in previous commit --- diff --git a/servers/slapd/ad.c b/servers/slapd/ad.c index c674401b79..4c7efe97f2 100644 --- a/servers/slapd/ad.c +++ b/servers/slapd/ad.c @@ -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; } }