From 9f2dbe01ef22ba67e5648e34ed3995e5e20e2835 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Thu, 7 Nov 2002 20:53:33 +0000 Subject: [PATCH] (regexec): Fix pmatch declaration. --- src/regex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/regex.c b/src/regex.c index b4f2d8d8049..022ca13eba6 100644 --- a/src/regex.c +++ b/src/regex.c @@ -6202,7 +6202,7 @@ regexec (preg, string, nmatch, pmatch, eflags) const regex_t *__restrict preg; const char *__restrict string; size_t nmatch; - regmatch_t pmatch[]; + regmatch_t pmatch[__restrict_arr]; int eflags; { int ret; -- 2.39.2