diff options
Diffstat (limited to 'llvm/lib/Support/regcomp.c')
-rw-r--r-- | llvm/lib/Support/regcomp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/regcomp.c b/llvm/lib/Support/regcomp.c index 4ed5982..f5c4778 100644 --- a/llvm/lib/Support/regcomp.c +++ b/llvm/lib/Support/regcomp.c @@ -305,7 +305,7 @@ llvm_regcomp(llvm_regex_t *preg, const char *pattern, int cflags) { return (REG_INVARG); len = preg->re_endp - pattern; } else { - len = strlen((const char *)pattern); + len = strlen(pattern); } /* do the mallocs early so failure handling is easy */ |