Port regex changes to strict ISO C
* src/regex.c (regex_compile): Redo casts.
This commit is contained in:
parent
9d5cd45056
commit
0100805af1
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue