diff src/fontset.c @ 17827:95010205f916

(fontset_pattern_regexp): Cast to (char *) before assigning to P0.
author Kenichi Handa <handa@m17n.org>
date Fri, 16 May 1997 00:43:08 +0000
parents 4bbcc6804b5d
children 46f958bf3348
line wrap: on
line diff
--- a/src/fontset.c	Fri May 16 00:43:05 1997 +0000
+++ b/src/fontset.c	Fri May 16 00:43:08 1997 +0000
@@ -399,7 +399,7 @@
 
       /* Convert "*" to ".*", "?" to ".".  */
       *p1++ = '^';
-      for (p0 = XSTRING (pattern)->data; *p0; p0++)
+      for (p0 = (char *) XSTRING (pattern)->data; *p0; p0++)
 	{
 	  if (*p0 == '*')
 	    {