summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2015-11-06 09:11:55 -0700
committerKarl Williamson <khw@cpan.org>2015-12-05 22:06:49 -0700
commit4c8cd60559ce65964c5e42f43021ce23dc89819e (patch)
tree1820d5f4f946871e893aa5cd4f422c81e1913d0f /regexec.c
parent6bff35fff38fc88b3e093f077f3c1a157a34d0e7 (diff)
downloadperl-4c8cd60559ce65964c5e42f43021ce23dc89819e.tar.gz
utf8.h, et.al.: Clean up some casts
By making sure the no-op macros cast the output appropriately, we can eliminate the casts that have been added in things that call them
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regexec.c b/regexec.c
index a21e71a2cb..dbc0156fe5 100644
--- a/regexec.c
+++ b/regexec.c
@@ -5810,8 +5810,8 @@ S_regmatch(pTHX_ regmatch_info *reginfo, char *startpos, regnode *prog)
}
else if (UTF8_IS_DOWNGRADEABLE_START(nextchr)) {
if (! (to_complement ^ cBOOL(isFOO_lc(FLAGS(scan),
- (U8) EIGHT_BIT_UTF8_TO_NATIVE(nextchr,
- *(locinput + 1))))))
+ EIGHT_BIT_UTF8_TO_NATIVE(nextchr,
+ *(locinput + 1))))))
{
sayNO;
}