diff options
Diffstat (limited to 'lib/Support/regexec.c')
-rw-r--r-- | lib/Support/regexec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Support/regexec.c b/lib/Support/regexec.c index 7d70f6e..41fb2ea 100644 --- a/lib/Support/regexec.c +++ b/lib/Support/regexec.c @@ -155,7 +155,7 @@ llvm_regexec(const llvm_regex_t *preg, const char *string, size_t nmatch, eflags = GOODFLAGS(eflags); if (g->nstates <= (long)(CHAR_BIT*sizeof(states1)) && !(eflags®_LARGE)) - return(smatcher(g, (char *)string, nmatch, pmatch, eflags)); + return(smatcher(g, string, nmatch, pmatch, eflags)); else - return(lmatcher(g, (char *)string, nmatch, pmatch, eflags)); + return(lmatcher(g, string, nmatch, pmatch, eflags)); } |