]> git.sur5r.net Git - openldap/commitdiff
avoid warning
authorPierangelo Masarati <ando@openldap.org>
Mon, 8 Oct 2001 10:18:34 +0000 (10:18 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 8 Oct 2001 10:18:34 +0000 (10:18 +0000)
libraries/librewrite/subst.c

index 3047cd2657272afb25dd6815631b2835247a13c3..2715da1ce757f25e74d1da995123e4490c1f1be8 100644 (file)
@@ -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;
                }