summaryrefslogtreecommitdiff
path: root/src/regex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regex.c')
-rw-r--r--src/regex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regex.c b/src/regex.c
index fd18864110b..4f2683adfb9 100644
--- a/src/regex.c
+++ b/src/regex.c
@@ -1265,9 +1265,9 @@ static re_char *whitespace_regexp;
void
re_set_whitespace_regexp (regexp)
- re_char *regexp;
+ const char *regexp;
{
- whitespace_regexp = regexp;
+ whitespace_regexp = (re_char *) regexp;
}
WEAK_ALIAS (__re_set_syntax, re_set_syntax)