diff options
author | Rickard Green <[email protected]> | 2017-08-31 14:34:07 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2017-08-31 14:34:07 +0200 |
commit | 919ddb608125db223f43b328e53fae37cab312ce (patch) | |
tree | bff19d67bcd53048c1c4c4c4df60be09bcd88064 /erts/emulator/pcre/pcre_exec.c | |
parent | c8e6fc560fc8fd2f0e993975d33a017503f0489b (diff) | |
parent | cdcbf85b4f00f8dc2f61e895055943fc7209027c (diff) | |
download | otp-919ddb608125db223f43b328e53fae37cab312ce.tar.gz otp-919ddb608125db223f43b328e53fae37cab312ce.tar.bz2 otp-919ddb608125db223f43b328e53fae37cab312ce.zip |
Merge branch 'rickard/pcre-8.41' into maint
OTP-14574
* rickard/pcre-8.41:
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.c | 2 |
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; } } |