summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-12-21 15:19:10 -0700
committerKarl Williamson <khw@cpan.org>2020-12-21 15:21:00 -0700
commit49fb50ea6e42cacccde2683fbed0b89f9eeb16cf (patch)
tree183078417ee0e1a9712a5244612d3843e74367f0 /regexec.c
parent2f02cce303d81a43727b0514e7c6d39a579bd217 (diff)
downloadperl-49fb50ea6e42cacccde2683fbed0b89f9eeb16cf.tar.gz
regexec.c: Silence compiler warning
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regexec.c b/regexec.c
index 61a3075cc2..2a5fa540bc 100644
--- a/regexec.c
+++ b/regexec.c
@@ -9284,7 +9284,7 @@ NULL
n = (utf8_target)
? utf8_length((U8 *) ST.oldloc, (U8 *) locinput)
- : locinput - ST.oldloc;
+ : (STRLEN) (locinput - ST.oldloc);
/* Here is at the beginning of a character that meets the mask