From: Pierangelo Masarati Date: Mon, 8 Oct 2001 10:18:34 +0000 (+0000) Subject: avoid warning X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~983 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6007789c14f7381b1049569d2081f7f522ce66f2;p=openldap avoid warning --- diff --git a/libraries/librewrite/subst.c b/libraries/librewrite/subst.c index 3047cd2657..2715da1ce7 100644 --- a/libraries/librewrite/subst.c +++ b/libraries/librewrite/subst.c @@ -59,7 +59,7 @@ rewrite_subst_compile( continue; } if ( p[ 1 ] == REWRITE_SUBMATCH_ESCAPE ) { - memmove(p, p + 1, strlen( p ) ); + memmove((char *)p, p + 1, strlen( p ) ); continue; }