From ea5239ece34af3718946269158faed3b3a310e1a Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Fri, 16 May 1997 00:43:08 +0000 Subject: [PATCH] (fontset_pattern_regexp): Cast to (char *) before assigning to P0. --- src/fontset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fontset.c b/src/fontset.c index 840555b427d..04a28ca96ed 100644 --- a/src/fontset.c +++ b/src/fontset.c @@ -399,7 +399,7 @@ fontset_pattern_regexp (pattern) /* Convert "*" to ".*", "?" to ".". */ *p1++ = '^'; - for (p0 = XSTRING (pattern)->data; *p0; p0++) + for (p0 = (char *) XSTRING (pattern)->data; *p0; p0++) { if (*p0 == '*') { -- 2.39.2