aboutsummaryrefslogtreecommitdiffstats
path: root/re.c
diff options
context:
space:
mode:
Diffstat (limited to 're.c')
-rw-r--r--re.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/re.c b/re.c
index 093d35eb..ee3a30aa 100644
--- a/re.c
+++ b/re.c
@@ -613,7 +613,7 @@ check_bracket_exp(char *s, size_t length)
sp = s;
again:
- sp = sp2 = memchr(sp, '[', (end - sp));
+ sp = sp2 = (char *) memchr(sp, '[', (end - sp));
if (sp == NULL)
goto done;