summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/pcre/pcre_get.c
diff options
context:
space:
mode:
authorAndré Klitzing <aklitzing@gmail.com>2016-06-24 10:29:47 +0200
committerAndré Klitzing <aklitzing@gmail.com>2016-08-17 17:33:21 +0000
commit810363945f0038ad40a48e1c5a86e3451a028822 (patch)
treeebd49a185c956338a14774951af0e740b3565ca9 /src/3rdparty/pcre/pcre_get.c
parentec7fee968f5f1a842b7d2fe670de1d517ecca308 (diff)
Update PCRE to 8.39
Change-Id: I619ef88ea05a6bcfb6908dc18d9de7daa9113392 Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/3rdparty/pcre/pcre_get.c')
-rw-r--r--src/3rdparty/pcre/pcre_get.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/3rdparty/pcre/pcre_get.c b/src/3rdparty/pcre/pcre_get.c
index cdd2abc80f..9475d5e88c 100644
--- a/src/3rdparty/pcre/pcre_get.c
+++ b/src/3rdparty/pcre/pcre_get.c
@@ -250,7 +250,7 @@ Arguments:
code the compiled regex
stringname the name of the capturing substring
ovector the vector of matched substrings
- stringcount number of captured substrings
+ stringcount number of captured substrings
Returns: the number of the first that is set,
or the number of the last one if none are set,
@@ -464,7 +464,7 @@ for (i = 0; i < double_count; i += 2)
{
size += sizeof(pcre_uchar *) + IN_UCHARS(1);
if (ovector[i+1] > ovector[i]) size += IN_UCHARS(ovector[i+1] - ovector[i]);
- }
+ }
stringlist = (pcre_uchar **)(PUBL(malloc))(size);
if (stringlist == NULL) return PCRE_ERROR_NOMEMORY;