summaryrefslogtreecommitdiff
path: root/toke.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 /toke.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 'toke.c')
-rw-r--r--toke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toke.c b/toke.c
index b9fe9aea5a..7f45f1b0e9 100644
--- a/toke.c
+++ b/toke.c
@@ -3593,7 +3593,7 @@ S_scan_const(pTHX_ char *start)
/* The regex compiler is
* expecting Unicode, not
* native */
- (U8) NATIVE_TO_LATIN1(*str));
+ NATIVE_TO_LATIN1(*str));
PERL_MY_SNPRINTF_POST_GUARD(len,
sizeof(hex_string));
Copy(hex_string, d, 3, char);