This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
768f8d9
)
Cast correctly to U8, not char
author
Karl Williamson
<khw@cpan.org>
Mon, 15 Feb 2016 18:02:07 +0000
(11:02 -0700)
committer
Karl Williamson
<khw@cpan.org>
Fri, 19 Feb 2016 03:26:50 +0000
(20:26 -0700)
U8 is what the function being called is expecting
regcomp.c
patch
|
blob
|
blame
|
history
diff --git
a/regcomp.c
b/regcomp.c
index
5316887
..
5dbccfb
100644
(file)
--- 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)
);
}
}