aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/pcre/pcre_exec.c
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2017-08-31 14:34:07 +0200
committerRickard Green <[email protected]>2017-08-31 14:34:07 +0200
commit919ddb608125db223f43b328e53fae37cab312ce (patch)
treebff19d67bcd53048c1c4c4c4df60be09bcd88064 /erts/emulator/pcre/pcre_exec.c
parentc8e6fc560fc8fd2f0e993975d33a017503f0489b (diff)
parentcdcbf85b4f00f8dc2f61e895055943fc7209027c (diff)
downloadotp-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.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;
}
}