summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/pcre/pcre_study.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_study.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_study.c')
-rw-r--r--src/3rdparty/pcre/pcre_study.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/pcre/pcre_study.c b/src/3rdparty/pcre/pcre_study.c
index 7fd0ba0b3d..d9d4960d84 100644
--- a/src/3rdparty/pcre/pcre_study.c
+++ b/src/3rdparty/pcre/pcre_study.c
@@ -1371,7 +1371,7 @@ do
for (c = 0; c < 16; c++) start_bits[c] |= map[c];
for (c = 128; c < 256; c++)
{
- if ((map[c/8] && (1 << (c&7))) != 0)
+ if ((map[c/8] & (1 << (c&7))) != 0)
{
int d = (c >> 6) | 0xc0; /* Set bit for this starter */
start_bits[d/8] |= (1 << (d&7)); /* and then skip on to the */