diff options
Diffstat (limited to 'sed/regexp.c')
-rw-r--r-- | sed/regexp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sed/regexp.c b/sed/regexp.c index e63d30a..827c699 100644 --- a/sed/regexp.c +++ b/sed/regexp.c @@ -217,7 +217,7 @@ match_regex(regex, buf, buflen, buf_start_offset, regarray, regsize) #ifdef REG_PERL regmatch_t rm[10], *regmatch = rm; if (regsize > 10) - regmatch = (regmatch_t *) alloca (sizeof (regmatch_t) * regsize); + regmatch = alloca (sizeof (regmatch_t) * regsize); #endif /* printf ("Matching from %d/%d\n", buf_start_offset, buflen); */ |