From 6007789c14f7381b1049569d2081f7f522ce66f2 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Mon, 8 Oct 2001 10:18:34 +0000 Subject: [PATCH] avoid warning --- libraries/librewrite/subst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5