From: Dave Love Date: Thu, 7 Nov 2002 20:53:33 +0000 (+0000) Subject: (regexec): Fix pmatch declaration. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=972e3e06142a2a253a022b8ad3d8c4e0baf80c8b;p=pspp (regexec): Fix pmatch declaration. --- diff --git a/regex.c b/regex.c index b4f2d8d804..022ca13eba 100644 --- a/regex.c +++ b/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;