diff options
author | Karl Williamson <khw@cpan.org> | 2019-10-02 16:40:44 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-10-06 10:18:17 -0600 |
commit | 009097b13d65a5e37b729c12f1bb088e7c3c7316 (patch) | |
tree | dea3cbeca59e94acc18f9b3f8d852fe499129496 /utf8.h | |
parent | cb15eeb248da9580d55c2a91ed5932642006573d (diff) | |
download | perl-009097b13d65a5e37b729c12f1bb088e7c3c7316.tar.gz |
utf8.h: Remove redundant cast
The called macro does the cast already
Diffstat (limited to 'utf8.h')
-rw-r--r-- | utf8.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -475,7 +475,7 @@ encoded as UTF-8. C<cp> is a native (ASCII or EBCDIC) code point if less than * code point in process of being generated */ #define UTF8_ACCUMULATE(old, new) (__ASSERT_(FITS_IN_8_BITS(new)) \ ((old) << UTF_ACCUMULATION_SHIFT) \ - | ((NATIVE_UTF8_TO_I8((U8)new)) \ + | ((NATIVE_UTF8_TO_I8(new)) \ & UTF_CONTINUATION_MASK)) /* This works in the face of malformed UTF-8. */ |