aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/pcre/pcre_exec.c
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2017-08-29 18:28:23 +0200
committerRickard Green <[email protected]>2017-08-29 18:28:23 +0200
commitcdcbf85b4f00f8dc2f61e895055943fc7209027c (patch)
tree1045f81f2a5a825222c355701cf4b5e30f20c393 /erts/emulator/pcre/pcre_exec.c
parenta230f26086b3db9097f06d4bb91fb3b2e9379c77 (diff)
downloadotp-cdcbf85b4f00f8dc2f61e895055943fc7209027c.tar.gz
otp-cdcbf85b4f00f8dc2f61e895055943fc7209027c.tar.bz2
otp-cdcbf85b4f00f8dc2f61e895055943fc7209027c.zip
Upgrade to PCRE 8.41 from PCRE 8.40
Diffstat (limited to 'erts/emulator/pcre/pcre_exec.c')
-rw-r--r--erts/emulator/pcre/pcre_exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/pcre/pcre_exec.c b/erts/emulator/pcre/pcre_exec.c
index 0f682d3daf..6708ba92a6 100644
--- a/erts/emulator/pcre/pcre_exec.c
+++ b/erts/emulator/pcre/pcre_exec.c
@@ -755,7 +755,7 @@ if (ecode == NULL)
return match((PCRE_PUCHAR)&rdepth, NULL, NULL, 0, NULL, NULL, 1);
else
{
- int len = (char *)&rdepth - (char *)eptr;
+ int len = (int)((char *)&rdepth - (char *)eptr);
return (len > 0)? -len : len;
}
}