summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2016-02-15 11:02:07 -0700
committerKarl Williamson <khw@cpan.org>2016-02-18 20:26:50 -0700
commit3a3d108484629fe5b421976b8d6fd6f280a1f97a (patch)
tree5747e87125e4893848552f22c0729c4309fb22af
parent768f8d987cfefb34c0b9c1a2e5c65b4448b4b937 (diff)
downloadperl-3a3d108484629fe5b421976b8d6fd6f280a1f97a.tar.gz
Cast correctly to U8, not char
U8 is what the function being called is expecting
-rw-r--r--regcomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regcomp.c b/regcomp.c
index 5316887559..5dbccfb87d 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -16339,7 +16339,7 @@ S_regclass(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth,
"\"%.*s\" is more clearly written simply as \"%s\"",
(int) (RExC_parse - rangebegin),
rangebegin,
- cntrl_to_mnemonic((char) value)
+ cntrl_to_mnemonic((U8) value)
);
}
}