Commit 0100805a authored by Paul Eggert's avatar Paul Eggert
Browse files

Port regex changes to strict ISO C

* src/regex.c (regex_compile): Redo casts.
parent 9d5cd450
......@@ -2618,8 +2618,8 @@ regex_compile (const_re_char *pattern, size_t size,
main_p = p1;
main_pend = pend;
main_pattern = pattern;
p = pattern = whitespace_regexp;
pend = p + strlen ((const char *) p);
p = pattern = (re_char *) whitespace_regexp;
pend = p + strlen (whitespace_regexp);
break;
}
#endif
......
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