Commit ea5239ec authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(fontset_pattern_regexp): Cast to (char *) before

assigning to P0.
parent e1335ba2
......@@ -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 == '*')
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment